Main Content


Create a Simulink Interface Dictionary

Since R2022b



dictObj = Simulink.interface.dictionary.create(dictionaryName) creates a Simulink Interface Dictionary and returns an object representing the dictionary.


collapse all

To create a Simulink Interface Dictionary and return an object representing the dictionary, use the Simulink.interface.dictionary.create function.

dictObj = Simulink.interface.dictionary.create(dictionaryName);

Input Arguments

collapse all

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

Example: "new_dictionary.sldd"

Output Arguments

collapse all

Interface dictionary, specified as a Simulink.interface.Dictionary object. Before you use this function, create or open dictObj by using Simulink.interface.dictionary.create or

Version History

Introduced in R2022b

expand all