Main Content

Simulink.interface.dictionary.create

Create a Simulink Interface Dictionary

Since R2022b

In R2023b the Architectural Data section of data dictionaries was introduced. When managing interfaces, data types, constants, and software address methods consider using the Simulink.dictionary.ArchitecturalData programmatic interfaces instead. For more information, see Programmatically Manage AUTOSAR Architectural Data.

Description

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

example

Examples

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

Version History

Introduced in R2022b

collapse all

R2023b: Simulink.interface.Dictionary object replaced by Simulink.dictionary.ArchitecturalData object

Starting in R2023b, use the Simulink.dictionary.ArchitecturalData object to programmatically manage architectural data instead of the Simulink.interface.Dictionary object.