Main Content

removeDataType

Remove data type from Simulink interface dictionary

Since R2022b

Description

example

removeDataType(dictObj,dataTypeName) deletes the specified data type in the interface dictionary.

Examples

collapse all

To delete the specified DataType in the dictionary, use the removeDataType function. For an example that shows more of the workflow for related functions, see Create and Configure Interface Dictionary.

removeDataType(dictAPI,'myAliasType1')

Input Arguments

collapse all

Interface dictionary, specified as a Simulink.interface.Dictionary object. Before you use this function, create or open dictObj by using Simulink.interface.dictionary.create or Simulink.interface.dictionary.open.

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

Example: 'myAliasType1'

Version History

Introduced in R2022b

expand all