coder.dictionary.open - Open Embedded Coder Dictionary object - MATLAB (original) (raw)

Main Content

Open Embedded Coder Dictionary object

Syntax

Description

[coderDictionaryObj](#mw%5F9b114f78-94f1-4152-86c4-763e471ee0bd) = coder.dictionary.open([sourceName](#mw%5Fde5dedc4-061e-40fe-84aa-b5b8b2437325)) opens the Embedded Coder Dictionary in the model or Simulink® data dictionary identified by sourceName. The function returns a coder.Dictionary object representing the Embedded Coder Dictionary.

example

Examples

collapse all

Open the model RollAxisAutopilot, which has an Embedded Coder Dictionary.

openExample('RollAxisAutopilot')

Open the Embedded Coder Dictionary and represent it with acoder.Dictionary object.

coderDictionaryObj = coder.dictionary.open('RollAxisAutopilot')

coderDictionaryObj =

Dictionary with Sections:

                StorageClasses: [1×1 coder.dictionary.Section]
                MemorySections: [1×1 coder.dictionary.Section]
FunctionCustomizationTemplates: [1×1 coder.dictionary.Section]

Input Arguments

collapse all

Name of the model file or data dictionary that contains the Embedded Coder Dictionary, specified as a character vector.

Example: 'myLoadedModel'

Example: 'myDictionary.sldd'

Data Types: char

Output Arguments

Version History

Introduced in R2019b