CIBC:Documentation:SCIRun:Reference:MatlabInterface

From SCIRun Documentation Wiki
Jump to: navigation, search

MatlabInterface Reference

Package Description


Module Reference

DataIO

ExportBundlesToMatlab
The ExportBundlesToMatlab Module saves a SCIRun NRRD object into a MATLAB .mat file.
ExportDatatypesToMatlab
The ExportDatatypesToMatlab Module saves a SCIRun Field object into a MATLAB .mat file.
ExportFieldsToMatlab
The ExportFieldsToMatlab Module saves a SCIRun Field object into a MATLAB .mat file.
ExportMatricesToMatlab
The ExportMatricesToMatlab module saves a SCIRun matrix in a MATLAB .mat file
ExportNrrdsToMatlab
The ExportNrrdsToMatlab Module saves a SCIRun NRRD object into a MATLAB .mat file.
ImportBundlesFromMatlab
The ImportBundlesFromMatlab module reads a matrix from a MATLAB .mat file and exports it as a bundle
ImportColorMapsFromMatlab
The ImportColorMapsFromMatlab module reads a matrix from a MATLAB file
ImportDatatypesFromMatlab
The ImportDatatypesFromMatlab module reads SCIRun fields, SCIRun Matrices, and SCIRun Nrrds from a MATLAB file.
ImportFieldsFromMatlab
The ImportFieldsFromMatlab module reads a SCIRun field from a MATLAB file.
ImportMatricesFromMatlab
The ImportMatricesFromMatlab module reads a matrix from a MATLAB file
ImportNrrdsFromMatlab
The ImportNrrdsFromMatlab module reads a matrix from a MATLAB .mat file and exports it as a Nrrd

Interface

InterfaceWithMatlab
Interactive InterfaceWithMatlab Interface: This module accomplishes a number of steps to integrate MATLAB code into SCIRun, (1) it translates a SCIRun object (field/matrix/nrrd) into a matlabarray and puts the object in the current workspace of matlab, (2) it executes MATLAB code that can be provided within the interface, (3) it translates back the matlabarrays in MATLAB's workspace into SCIRun objects.
InterfaceWithMatlabViaBundles
Interactive Matlab Interface: This module accomplishes a number of steps to integrate MATLAB code into SCIRun, (1) it translates a SCIRun object (field/matrix/nrrd) into a matlabarray and puts the object in the current workspace of matlab, (2) it executes MATLAB code that can be provided within the interface, (3) it translates back the matlabarrays in MATLAB's workspace into SCIRun objects. The difference with the normal Matlab module is that this one uses bundles as input and output to allow for a more flexible interface. Since the use of bundles is more complicated, the Matlab module should be used if fields or matrices need to be adjusted. But for more complicated projects, this module allows for more flexibility.



Go back to Documentation:SCIRun:Reference