This is an old revision of the document!
Export_Data_To_Matfile
This command is similar to Export_Data_To_Matlab except that the resulting data is placed in an Matlab .mat file rather than being pushed into the Matlab Workspace
It is very important to note that Visual3D expresses an unknown value (e.g. a TARGET with residual of -1) using the value DATA_NOT_FOUND (-99999). Matlab doesn't recognize this Visual3D expression, so you may want to replace DATA_NOT_FOUND with NaN (e.g. /USE_NAN_FOR_DATANOTFOUND=TRUE). If you don't and you list the contents of the variable in Matlab, your data may be scaled to 1.e5, which means that most of your values may end up looking as if they were zero. If you enter DATA_NOT_FOUND, you can have your m-file search for this value, so that you can continue to perform matrix math in Matlab (which won't process NaN in an array). Text version below:
Export_Data_To_Matfile ! /SIGNAL_TYPES= ! /SIGNAL_FOLDER= ! /SIGNAL_NAMES= ! /FILE_NAME= /MATLAB_NAMES= ! /PARAMETER_NAMES= ! /PARAMETER_GROUPS= ! /OUTPUT_PARAMETER_NAMES= ! /USE_NAN_FOR_DATANOTFOUND=FALSE ;