Clear Filters
Clear Filters

How to revert changes in data dictionary

1 view (last 30 days)
I'm using parameter override in test manager. Test harness uses data dictionary to store parameters. However after running the test parameter is not put back to it's original value in data dictionary. This leads to fail of next test, which doesn't override changed parameter and rely on default values.
Is it possible to put it back somehow using callback functions?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 28 Feb 2019
discardChanges(dictionaryObj)
web(fullfile(docroot, 'simulink/slref/simulink.data.dictionary.discardchanges.html'))

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!