How can I comment out a stateflow state programmatically?
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!