Simulink.data.dictionary.Entry
Configure data dictionary entry
Description
An object of the Simulink.data.dictionary.Entry class
represents one entry of a data dictionary. The object allows you to
perform operations such as assign the entry a value or change the
name of the entry.
Note
For most common data management tasks involving a model workspace, Simulink® data dictionary (Design Data section), or MAT file, it is recommended to use
the functions provided by the Simulink.data.DataConnection object over the data source-specific functions.
These object functions provide a common command line interface to manage the data using
fewer lines of code. Use the Simulink.data.connect function to create a connection to your data source,
then use the common set of functions provided by the Simulink.data.DataConnection object. For data source-specific tasks, for example
the removal or addition of a reference data dictionary, create a data source-specific
object, then use the functions provided by that object to manage your data source. For more
information, see Manage Design Data for Simulink Models Programmatically.
Before you can create a new Simulink.data.dictionary.Entry object,
you must create a Simulink.data.dictionary.Section object
representing the data dictionary section that contains the target
entry. However, once created, the Simulink.data.dictionary.Entry object
exists independently of the Simulink.data.dictionary.Section object.
Use the function getSection to
create a Simulink.data.dictionary.Section object.
Creation
Syntax
Properties
Object Functions
deleteEntry | Delete data dictionary entry |
discardChanges | Discard changes to data dictionary entry |
find | Search in array of data dictionary entries |
getValue | Return value of data dictionary entry |
setValue | Set value of data dictionary entry |
showChanges | Display changes made to data dictionary entry |
Examples
Version History
Introduced in R2015a