Class: Simulink.data.Dictionary
Package: Simulink.data
Discard changes to data dictionary
discardChanges(dictionaryObj)
discardChanges(
discards
all changes made to the specified data dictionary since the last time
changes to the dictionary were saved using the dictionaryObj
)saveChanges
function. discardChanges
also
discards changes made to referenced data dictionaries. The changes
to the target dictionary and its referenced dictionaries are permanently
lost.
You can use the Model Explorer window to discard changes to data dictionaries. See View and Revert Changes to Dictionary Entries for more information.