Main Content

Simulink.interface.dictionary.open

Open a Simulink Interface Dictionary

Since R2022b

Description

example

dictObj = Simulink.interface.dictionary.open(dictionaryName) opens the specified Interface Dictionary dictionaryName and returns an object representing the dictionary.

Examples

collapse all

To open the specified Interface Dictionary dictionaryName and return an object representing the dictionary, use the open function. For an example that shows more of the workflow for related functions, see Create and Configure Interface Dictionary.

dictAPI = Simulink.interface.dictionary.open("new_dictionary.sldd");

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 Simulink.interface.dictionary.open.

Version History

Introduced in R2022b

expand all