Main Content

linkDictionary

Link data dictionary to architecture model

Description

linkDictionary(model,dictionaryFile) associates the specified Simulink® data dictionary with the model. The model cannot have locally defined interfaces.

example

Examples

collapse all

Link a data dictionary to a model.

model = systemcomposer.createModel("newModel");
systemcomposer.openModel("archModel");
dictionary = systemcomposer.createDictionary("newDictionary.sldd");
linkDictionary(model,"newDictionary.sldd");
save(dictionary);
save(model);

Input Arguments

collapse all

Architecture model, specified as a systemcomposer.arch.Model object.

Dictionary file name with the .sldd extension, specified as a character vector or string. If a dictionary with this name does not exist, one will be created.

Example: "dict_name.sldd"

Data Types: char | string

More About

collapse all

Version History

Introduced in R2019a

See Also

Functions

Objects

Blocks

Tools