Class: Simulink.data.dictionary.Section
Package: Simulink.data.dictionary
Delete data dictionary entry
deleteEntry(sectionObj,entryName)
deleteEntry(sectionObj,entryName,'DataSource',dictionaryName)
deleteEntry(
deletes
a data dictionary entry sectionObj
,entryName
)entryName
from the data
dictionary section sectionObj
, a Simulink.data.dictionary.Section
object.
If there are multiple entries with the specified name in a hierarchy
of reference dictionaries, the function deletes all the entries. If
you represent a data dictionary entry with one or more Simulink.data.dictionary.Entry
objects
and later delete the entry using the deleteEntry
function,
the objects remain with their Status
property set
to 'Deleted'
.
deleteEntry(
deletes
an entry that is defined in the data dictionary sectionObj
,entryName
,'DataSource',dictionaryName
)DictionaryName
.
Use this syntax to uniquely identify an entry that is defined more
than once in a hierarchy of referenced data dictionaries.
You can use the Model Explorer window to delete entries from a data dictionary in the same way you can delete variables from a model workspace or the base workspace.