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?
0 个评论
采纳的回答
Fangjun Jiang
2019-2-28
discardChanges(dictionaryObj)
web(fullfile(docroot, 'simulink/slref/simulink.data.dictionary.discardchanges.html'))
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!