exportToPreviousRelease
Save a Dataset object to a MAT file you can open in any
release
Syntax
Description
exportToPreviousRelease(
saves the ds,filename,dsname)Simulink.SimulationData.Dataset object, ds, to
the MAT file specified by the filename input, using the name specified by
the dsname input. You can load the Dataset saved in
the file in any release that supports the Dataset format. When you do not use
this function to save a Dataset object to a file, you may not be able to load
the data in releases prior to R2017a. When you do not need to open and use the
Dataset data in a release prior to R2017a, you can use the save function.
exportToPreviousRelease(___,
saves data stored in a version)Dataset object to a MAT file you can load in a
previous release, using the MAT file version specified by version.
exportToPreviousRelease(___,'–append') adds data stored
in a Dataset object to a MAT file you can load in a previous release without
overwriting the contents of the MAT file.
exportToPreviousRelease(___,'–nocompression') saves the
Dataset object to a MAT file without compression. The
'–nocompression' option only supports Version 7 and Version 7.3 MAT
files.
Examples
Input Arguments
Version History
Introduced in R2019b