Main Content

removeInterface

Remove interface from Architectural Data section of Simulink data dictionary

Since R2023b

    Description

    removeInterface(archDataObj,interfaceName) deletes the interface specified by interfaceName from archDataObj, the Architectural Data section of a data dictionary.

    example

    Examples

    collapse all

    To delete an interface from a data dictionary, use the removeInterface 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.

    removeInterface(archDataObj,"DataInterface");

    Input Arguments

    collapse all

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

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

    Example: "DataInterface"

    Version History

    Introduced in R2023b