Filter löschen
Filter löschen

How to revert changes in data dictionary

1 Ansicht (letzte 30 Tage)
Bogdan Dudykevych
Bogdan Dudykevych am 28 Feb. 2019
Beantwortet: Fangjun Jiang am 28 Feb. 2019
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by