Main Content

linkDictionary

Link data dictionary to AUTOSAR architecture model

Since R2023a

Description

linkDictionary(archModel,dictionaryName) links a Simulink® data dictionary, dictionaryName, to an AUTOSAR architecture model, specified as autosar.arch.Model object archModel.

example

Examples

collapse all

Link dictionary MyInterfaces.sldd to architecture model myTopComposition.slx.

dictName = 'MyInterfaces.sldd';
dictAPI = Simulink.dictionary.archdata.open(dictName);

% create AUTOSAR arch model and link interface dictionary
archModel = autosar.arch.createModel('myTopComposition');
linkDictionary(archModel,dictName);

Input Arguments

collapse all

AUTOSAR architecture model handle, specified as an autosar.arch.Model object.

Name of data 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"

Version History

Introduced in R2023a