필터 지우기
필터 지우기

How can I comment out a stateflow state programmatically?

조회 수: 1 (최근 30일)
Holger Steltner
Holger Steltner 2018년 11월 23일
댓글: Holger Steltner 2018년 12월 6일
I found this answer concerning programmatically commenting out subsystems of a Simulink model:
That works fine for me.
Now, is the same mechanism in some way possible for sub-states of a stateflow chart in a Simulink model?
Best regards and thanks in advance,
Holger.

채택된 답변

Pinkesh Narsinghani
Pinkesh Narsinghani 2018년 12월 3일
For Using and manipulating stateflow diagram programmatically , We use Stateflow API . Refer to the following link for more info regarding this:
For a particular chart object setting 'IsExplicitlyCommented' to true works same as Comment Out.Refer to the following link for more details:
Non-Programmatically :
To comment out a Stateflow object, right-click the object and select Comment Out. For more information regarding this refer this documentation : https://in.mathworks.com/help/stateflow/ug/comment-out-stateflow-objects.html#bufmlsg
  댓글 수: 1
Holger Steltner
Holger Steltner 2018년 12월 6일
Thanks a lot, that's exactly what I was looking for!
Best regards, Holger.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by