Main Content


Remove interface from Simulink interface dictionary

Since R2022b



removeInterface(dictObj,interfaceName) deletes the specified interface from the interface dictionary.


collapse all

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


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

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

Example: 'DataInterface'

Version History

Introduced in R2022b

expand all