listEntry
R2026bList data dictionary entries
Description
listEntry( displays in the
MATLAB Command Window a table of information about all the entries in the data
dictionary dictionaryObj)dictionaryObj, a Simulink.data.Dictionary object. The
displayed information includes the name of each entry, the name of the section
containing each entry, the status of each entry, the date and time each entry was
last modified, the last username to modify each entry, and the class of the value
each entry contains. For an entry with an unknown class or username, the function
displays a blank line in the table. By default, the function sorts the list of
entries alphabetically by entry name.
listEntry(
displays the entries in a data dictionary with additional options specified by one
or more dictionaryObj,Name,Value)Name,Value pair arguments.
To return the value of a data dictionary entry at the command prompt, use the
getValue method of a Simulink.data.dictionary.Entry object. See Store Data in Dictionary Programmatically.
To get a list of entries in a dictionary section, returned as an array of Simulink.data.dictionary.Entry objects, use the
find method of a Simulink.data.dictionary.Section object with no
arguments.
Examples
Input Arguments
Name-Value Arguments
Alternatives
List the entries in a data dictionary by using Simulink.data.DataConnection object function.
dd = Simulink.data.connect("myNewDictionary.sldd");
dd.a = 7;
dd.f = 10;
who(dd)
2x1 cell array
{'a'}
{'f'}
Version History
Introduced in R2015a