Main Content

systemcomposer.openDictionary

Open data dictionary

    Description

    dictionary = systemcomposer.openDictionary(dictionaryName) opens an existing Simulink® data dictionary to hold interfaces and returns the systemcomposer.interface.Dictionary object.

    example

    Examples

    collapse all

    Create a dictionary and open the dictionary.

    systemcomposer.createDictionary("my_dictionary.sldd");
    dictionary = systemcomposer.openDictionary("my_dictionary.sldd");

    Input Arguments

    collapse all

    Name of existing data dictionary, specified as a character vector or string. The name must include the .sldd extension.

    Example: "my_dictionary.sldd"

    Data Types: char | string

    Output Arguments

    collapse all

    Dictionary, returned as a systemcomposer.interface.Dictionary object.

    More About

    collapse all

    Version History

    Introduced in R2019a

    See Also

    Functions

    Objects

    Blocks

    Tools