Simulink.data.dictionary.Section
Configure data dictionary section
Description
An object of the Simulink.data.dictionary.Section
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 Simulink.data.dictionary.Section
object,
you must create a Simulink.data.Dictionary
object representing
the target data dictionary. Once created, the Simulink.data.dictionary.Section
object
exists independently of the Simulink.data.Dictionary
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).
Creation
Syntax
Description
The function getSection
creates
a Simulink.data.dictionary.Section
object.
Properties
Object Functions
addEntry | Add new entry to data dictionary section |
assignin | Assign value to data dictionary entry |
deleteEntry | Delete data dictionary entry |
evalin | Evaluate MATLAB expression in data dictionary section |
exist | Check existence of data dictionary entry |
exportToFile | Export data dictionary entries from section to MAT-file or MATLAB file |
find | Search in data dictionary section |
getEntry | Create Simulink.data.dictionary.Entry object
to represent data dictionary entry |
importFromFile | Import variables from MAT-file or MATLAB file to data dictionary section |
Examples
Version History
Introduced in R2015a