- Package: MatlabInterface
- Catagory: DataIO
- Author(s): Jeroen Stinstra
- Status: Supported in latest version
- Version: 3.0
The ExportFieldsToMatlab Module saves a SCIRun Field object into a MATLAB .mat file.
The ExportFieldsToMatlab module exports SCIRun Field objects into a MATLAB compatible .mat file. Currently this module supports the file format of MATLAB version 5 and higher. The module has multiple input ports that can be used to store multiple MATLAB arrays in one file. All fields except for Scanline, Images, and LatVols will be stored as structured matrices. Only Scanlines, Images and LatVols can be stored as dense matrices. The format in which the fields are exported is described in the documentation of the ImportDatatypesFromMatlab module.
Setting up the GUI: Select a filename for the MATLAB file that needs to be created. You can use the BROWSE button to select an existing file. Setup the format of each matrix and change the names of the matrices to the ones you want to use in MATLAB. Execute the module and the file will be written.