Class: Simulink.data.dictionary.Section
Package: Simulink.data.dictionary
Check existence of data dictionary entry
doesExist = exist(sectionObj,entryName)
determines
if the data dictionary section doesExist
= exist(sectionObj
,entryName
)sectionObj
contains
an entry by the name of entryName
and returns an
indication.
exist
also determines if a matching
entry exists in the same section of any referenced data dictionaries.
For example, if sectionObj
represents the Design
Data section of a data dictionary myDictionary_ex_API.sldd
, exist
searches
the Design Data section of myDictionary_ex_API.sldd
and
the Design Data sections of any dictionaries referenced by myDictionary_ex_API.sldd
.
You can use Model Explorer to search a data dictionary for an entry.