Stateflow verification of models
3 ビュー (過去 30 日間)
古いコメントを表示
I have two questions regarding verification of design.
Firstly, I need to verify my stateflow design, a sample model as shown below. I know that there is a component called Simulink verification tool (i.e. Model Advisor), which checks the design against popular tests. But I could not find " reachability " check. Is there any ways to have reachability check on design? Say, I want to make sure I never reach S4. If not already there, I found somewhere that we can define custom checks, but I could not find how, and could not find a working example how to define a custom check. More help is needed.
2) My second question is about the generated C/C++ code. It is very cool that we can generate C/C++ code of our Stateflow code. Is there any ways to verify C/C++ code (not visual model) in Matlab?
0 件のコメント
回答 (2 件)
Orion
2014 年 11 月 24 日
Hi,
You're actually asking for several toolboxes
1) The Model Advisor allows you to chek some design rules, that's all, some additional options are available
To generate all possible combinations of input and try to reach every part of a model : Simulink Design Verifier
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Check Model Compliance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!