Display changes made to data dictionary entry
showChanges( opens the
Comparison Tool to show changes made to the data dictionary entry
object. The Comparison Tool displays the properties of
as they were when the data dictionary was last saved and as they were when the
showChanges function was called.
View Unsaved Changes to Data Dictionary Entry
Represent the data dictionary entry
Simulink.data.dictionary.Entry object named
defined in the data dictionary
myDictionaryObj = Simulink.data.dictionary.open('myDictionary_ex_API.sldd'); dDataSectObj = getSection(myDictionaryObj,'Design Data'); fuelFlowObj = getEntry(dDataSectObj,'fuelFlow');
Make a change to the entry
assigning it the new value
Observe the unsaved change to the entry
The Comparison Tool opens and compares side by side the current state
of the entry with its most recently saved state.
entryObj — Target data dictionary entry
Target data dictionary entry, specified as a
Before you use this function, represent the target entry with a
by using, for example, the
You can use Model Explorer and the Comparison Tool to view changes to data dictionary entries. See View and Revert Changes to Dictionary Entries for more information.
Introduced in R2015a