Main Content

Configure data dictionary section


An object of the class represents one section of a data dictionary, such as Design Data or Configurations. The object allows you to perform operations on the section such as add or delete entries and import data from files.

Before you can create a object, you must create a object representing the target data dictionary. Once created, the object exists independently of the object.

You cannot use the data dictionary programmatic interface (see Store Data in Dictionary Programmatically) to access the Embedded Coder section of a data dictionary. Instead, see Embedded Coder Dictionary (Embedded Coder).




The function getSection creates a object.


expand all

Name of data dictionary section, returned as a character vector. This property is read only.

Object Functions

addEntryAdd new entry to data dictionary section
assigninAssign value to data dictionary entry
deleteEntryDelete data dictionary entry
evalinEvaluate MATLAB expression in data dictionary section
existCheck existence of data dictionary entry
exportToFileExport data dictionary entries from section to MAT-file or MATLAB file
find Search in data dictionary section
getEntryCreate object to represent data dictionary entry
importFromFileImport variables from MAT-file or MATLAB file to data dictionary section


collapse all

Open the data dictionary myDictionary_ex_API.sldd and represent it with a object named myDictionaryObj.

myDictionaryObj ='myDictionary_ex_API.sldd');

Represent the Design Data section of the data dictionary myDictionary_ex_API.sldd with a object named dDataSectObj.

dDataSectObj = getSection(myDictionaryObj,'Design Data')
dDataSectObj = 

  Section with properties:

    Name: 'Design Data'

Version History

Introduced in R2015a