Symbolic Nuclear Analysis Package

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 SNAP version 0.28.0 or higher must be installed to support this interface.

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

Change Log

Version 1.2.1 - Released 12/19/2008:

Version 1.2.0 - Released 9/4/2008:

Version 1.1.0 - Released 6/15/2007:

  Privacy Policy | Contact Us | ©2007 Applied Programming Technology, Inc.