Access Stateflow Debugging options programmatically

조회 수: 3 (최근 30일)
Petru-Cornel
Petru-Cornel 2023년 3월 16일
댓글: Petru-Cornel 2023년 3월 31일
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
Sai Sumanth Korthiwada 2023년 3월 31일
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