Main Content
importFromFile
Import Simulink object definitions from file to Architectural Data section of data dictionary
Since R2023b
Description
importFromFile(
copies archDataObj
,matFileName
)Simulink.Bus
, Simulink.ValueType
,
Simulink.AliasType
, and constant objects from the MAT file specified by
matFileName
to the Architectural Data section of a data dictionary
identified by archDataObj
. The Simulink.Bus
objects
are imported as data interfaces. For those objects that need to be used as structure
DataType
, use the convertToDataInterface
and
convertToStructType
functions respectively.
Examples
Input Arguments
Version History
Introduced in R2023b
See Also
Objects
Functions
Simulink.dictionary.archdata.create
|Simulink.dictionary.archdata.open
|addAliasType
|addDataInterface
|addEnumType
|addPlatformMapping
|addStructType
|addValueType
|close
|getDataType
|getDataTypeNames
|getInterface
|getInterfaceNames
|getPlatformMapping
|importFromBaseWorkspace
|isDirty
|removeDataType
|removeInterface
|save
|show
|showChanges