exportToFile
Export data dictionary entries from section to MAT-file or MATLAB file
Description
exportToFile(
exports to a MAT or MATLAB file all the values of the entries contained in the data
dictionary section sectionObj
,fileName
)sectionObj
, a Simulink.data.dictionary.Section
object. exportToFile
exports the values of all entries, including
those defined in referenced dictionaries.
Examples
Input Arguments
Limitation
The exportToFile
method does not export
enumerated data types (which are stored as Simulink.data.dictionary.EnumTypeDefinition
objects).
To transfer or copy an enumerated type from one dictionary to another,
use the getEntry
and addEntry
methods
of Simulink.data.dictionary.Section
objects.
Alternatives
You can use Model Explorer to export data dictionary entries to a file. See Export Design Data from Dictionary for more information.
Version History
Introduced in R2015a