Is there a way to manipulate a local scope data member of the stateflow under test in the simulink test module?
3 ビュー (過去 30 日間)
古いコメントを表示
Vivek Chugh
2018 年 4 月 9 日
回答済み: Anmol Pradeep Bhargava
2018 年 5 月 4 日
I understand that parameter overrides in simulink test can be performed via the test manager. Is there a similar option available for overriding local data members of the stateflow under test?
0 件のコメント
採用された回答
Anmol Pradeep Bhargava
2018 年 5 月 4 日
Hi Vivek, Unfortunately such a functionality doesn't exist. Local data members of a stateflow chart cannot be overriden. Although, you can try adding a data store memory (for the local data member to be overriden) and setting the initial value to a parameter and then add a test in Test Manger to override this parameter. Here are a few links about Data Store Memory and how it can be used in a Stateflow chart.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Inputs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!