createDictionary

Create data dictionary

Description

example

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

Examples

expand all

dict_id = systemcomposer.createDictionary('new_dictionary.sldd')

Input Arguments

expand all

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

Example: 'new_dictionary.sldd'

Data Types: char

Output Arguments

expand all

Handle to the dictionary, returned as a systemcomposer.interface.Dictionary object.

Introduced in R2019a