Access Stateflow Debugging options programmatically

1 次查看(过去 30 天)
Hello,
It's possible to access the Debugging options for Stateflow by programming?
I want to create a custom script to check if these options are checked or not.

回答(1 个)

Sai Sumanth Korthiwada
Hi Petru-Cornel,
I understand that you want to access Stateflow debuging options programatically.
It is possible to access some of the debugging options programatically. To begin with, you can go through the following documentations to understand about how to use Stateflow debuging options programatically:
Hope this helps!
  1 个评论
Petru-Cornel
Petru-Cornel 2023-3-31
Hello,
Thank you for your feedback!
The option can be accesed with the following commands:
hsf=sfroot;
m = hsf.find('-isa', 'Stateflow.Machine','Name',bdroot);
get(m.Debug.RunTimeCheck,'CycleDetection');
get(m.Debug.RunTimeCheck,'StateInconsistencies');
get(m.Debug.RunTimeCheck,'DataRangeChecks');
get(m.Debug.RunTimeCheck,'TransitionConflicts');

请先登录,再进行评论。

类别

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

产品


版本

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by