Main Content

removeDataType

Remove data type from Architectural Data section of Simulink data dictionary

Since R2023b

    Description

    removeDataType(archDataObj,dataTypeName) deletes the data type specified by dataTypeName in archDataObj, the Architectural Data section of a data dictionary.

    example

    Examples

    collapse all

    To delete a DataType in a data dictionary, use the removeDataType function. For an example that shows more of the workflow for related functions, see Create Architectural Data Object and Use It to Configure Architectural Data.

    removeDataType(archDataObj,"myAliasType1");

    Input Arguments

    collapse all

    Architectural Data object, specified as a Simulink.dictionary.ArchitecturalData object.

    DataType definition name in the DataTypes property array of archDataObj, specified as a character vector or string scalar.

    Example: "myAliasType1"

    Version History

    Introduced in R2023b