Recent News
SNAP Version 2.5.7 Released
July, 17, 2017
AptPlot 6.7.3 Released
March 28, 2017
PyPost 1.2.3 Released
July 13, 2016

SNAP-MATLAB Interface

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:

<directory_where_you_installed_snap>/lib/matlab.jar
<directory_where_you_installed_snap>/plugins/cobra.jar
<directory_where_you_installed_snap>/plugins/relap5.jar
<directory_where_you_installed_snap>/plugins/melcor2x.jar
<directory_where_you_installed_snap>/plugins/trace.jar

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.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.