Recent News
SNAP Version 4.2.1 Released
February 16, 2024
AptPlot 8.0.4 Updated
February 16, 2024
PyPost 4.0.3 Released
August 18, 2022


This interface provides the ability to access plot data from TRACE, COBRA-IE, RELAP5 and MELCOR files using MATLAB. Using the functions provided by the interface, a user can import data from a file directly into a MATLAB array. As an array, the data can be manipulated using all of the inherent functions of MATLAB.

Please note that the SNAP-MATLAB interface is included as an optional package in the SNAP Version 0.20.0 installation. To use the interface in MATLAB, matlab.jar and the associated SNAP distribution files must be added to MATLAB's classpath. To add them to static memory, open javaclasspath.txt in the toolbox/local/ directory of your MATLAB installation. Above the last line (mac=/System/Library/Java), add four new lines and save:


The Java class that encapsulates the interface, MatlabIntf, can now be imported in MATLAB using the following command:

>> import com.cafean.matlab.MatlabIntf

The interface should now be accessible in MATLAB. Please refer to the documentation included in the distribution for further instruction on using the SNAP-MATLAB interface.

Please note that distribution of this software is limited to SNAP User's Group (SUG) members.

Change Log

Version 3.4.0 - Released 10/29/2021:

  • Updated to work with SNAP 4.0.0. Note: The RELAP53D jar has been renamed from relap53D.jar to relap5.jar under SNAP 4.0.0.

Version 3.3.0 - Released 3/4/2020:

  • Updated to work with Java 11. Methods that have been deprecated in Java 11 have been refactored to use the appropriate Java 11 equivalent. Note that this library was built with Java 8 compatiblity to work with the MATLAB JVM.

Version 3.2.5 - Released 10/25/2017:

  • The COBRA Plot file read routines were updated to support the newer COBRA plot file header.
  • The MATLAB interface will now report an error instead of throwing a null pointer exception after failing to parse a COBRA plot file.

Version 3.2.4 - Released 10/4/2017:

  • The SNAP MATLAB Library has been updated to support embedded engineering unit code references in COBRA plot files.

Version 3.2.2 - Released 9/30/2015:

  • An issue was resolved in the MATLAB output routine showCatalog to properly handle the output of integer arrays.
  • The MATLAB library was renamed from matlab.jar to matlab_acs.jar. This eliminates a conflict with a statically loaded matlab.jar library.

Version 2.1.0 - Released 7/11/2011:

  • Support for the new RELAP5-3D PIB based plot file format was added to the MATLAB library.

Version 2.0.0 - Released 2/4/2011:

  • Updated to work under SNAP 2.0.

Version 1.2.2 - Released 8/18/2008:

  • Fixed an issue that prevented the proper reading of data from TRACE multiplexed XTV files.

Version 1.2.1 - Released 12/19/2008:

  • Updated to work with new COBRA-IE graphics file routines.

Version 1.2.0 - Released 9/4/2008:

  • Support was added for multiplexed and de-multiplexed TRACE XTV files.

Version 1.1.0 - Released 6/15/2007:

  • Added ability to read MELCOR plot files.
  • Removed dependencies on cafean.jar.