フィルターのクリア

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 Center および File ExchangeComplex Logic についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by