These methods specialize standard MATLAB® operators and functions for objects in this class.
export | This method calls the exportImpl method. From Signal Editor, write the structure
of signals to a MAT-file. The structure must contains two cell arrays; one for
signal names and one for signal values. Specify if the method appends to or
overwrites the contents of the MAT-file. The method indicates if it succeeded in
writing to the MAT-file and returns any error messages. |
import | [importedData, warnStr ] = import(reader) To
import custom signals for a custom file type, identify the custom file type
reader as a Simulink.io.FileType object. The
method returns the found variable as a cell array of signal variables of supported
types. For more information on supported types, see Choose a Base Workspace and MAT-File Format. The method returns a structure with two
fields, Data and Name .
Data is a cell array of signals and Name
is a cell array of character vectors of the corresponding signal
names. |
importAVariable | varOut = importAVariable(reader,variableName) To
import a specified variable for a custom file type, identify the custom file type
reader as a Simulink.io.FileType object. Use
VariableName, specified as a character array, to extract the
desired signal from the file of custom format signals. The method returns the
found variable, returned as a cell array of signal variables of supported types.
For more information on supported types, see Choose a Base Workspace and MAT-File Format. |
load | This method calls the loadImpl method. Load the signal listed in the custom file
type. |
loadAVariable | This method calls the loadAVariableImpl method. Validate the format of the
signals in the custom MAT-file fileName with the associated
Simulink.io.FileType
reader . |
validateFileName | This method calls the validateFileNameImpl method. Validate the format of the
signals in the custom MAT-file fileName with the associated
Simulink.io.FileType
reader . |
whos | This method calls the whosImpl method. Return the contents of the custom file
type MAT-file. |