How to revert changes in data dictionary

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Outputs 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by