Simulink.dictionary.archdata.StructType
Description
A StructType
object represents a structure data type containing
elements represented by Simulink.dictionary.archdata.StructElement
objects.
Creation
Create a StructType
object using the addStructType
function.
structTypeObj = addStructType(archDataObj,"structType1")
Properties
Object Functions
addElement | Add struct element to struct type |
getElement | Get struct element from struct type |
removeElement | Remove element from struct type |
convertToDataInterface | Convert struct type to data interface object |
moveToDictionary | Move architectural data of Simulink data dictionary to another data dictionary |
moveToDesignData | Move interfaces, data types, and constants in Architectural Data section of Simulink data dictionary to design data |
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