Main Content

close

Close any open connections to Simulink data dictionary

Since R2023b

    Description

    example

    close(archDataObj) closes any open connections to the data dictionary. If the dictionary has unsaved changes, an error is thrown.

    example

    close(archDataObj,"DiscardChanges",true) closes any open connections to the data dictionary and discards any unsaved changes.

    Examples

    collapse all

    To close any open connections to a data dictionary, use the close function.

    close(archDataObj);

    Input Arguments

    collapse all

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

    Version History

    Introduced in R2023b