Main Content
Simulink.dictionary.archdata.AliasType
Description
Use a Simulink.dictionary.archdata.AliasType
object to represent
a Simulink.AliasType
in the Architectural Data
section of a data dictionary.
Creation
You can add a Simulink.dictionary.archdata.AliasType
object to a data
dictionary in two ways.
Interactively create a
Simulink.dictionary.archdata.AliasType
object by using the Architectural Data Editor.Programmatically create a
Simulink.dictionary.archdata.AliasType
object by using theaddAliasType
function.
archDataObj = Simulink.dictionary.archdata.create("dataDictionary.sldd"); Temp = addAliasType(archDataObj,"Temp","BaseType","single")
aliasTypeObj = AliasType with properties: Name: 'myAlias' BaseType: 'double' Description: '' Owner: [1×1 Simulink.dictionary.ArchitecturalData]
Properties
Object Functions
moveToDesignData | Move interfaces, data types, and constants in Architectural Data section of Simulink data dictionary to design data |
moveToDictionary | Move architectural data of Simulink data dictionary to another data dictionary |
show | View architectural data of Simulink data dictionary in Architectural Data Editor |
destroy | Delete data element and remove from data interface |
Examples
Version History
Introduced in R2023b