Main Content

systemcomposer.createDictionary

Create data dictionary

    Description

    dictionary = systemcomposer.createDictionary(dictionaryName) creates a new Simulink® data dictionary to hold interfaces and returns the systemcomposer.interface.Dictionary object.

    example

    Examples

    collapse all

    dictionary = systemcomposer.createDictionary("new_dictionary.sldd")
    

    Input Arguments

    collapse all

    Name of new data dictionary, specified as a character vector or string. The name must include the .sldd extension and must be a valid MATLAB® identifier.

    Example: "new_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