The hasChangedTo function in a stateflow chart applied to a boolean
显示 更早的评论
Hi everyone, I would like to know if the hasChangedTo function can be applied to a stateflow data of type boolean (i.e logical). And if so, is the syntax example here correct:
hasChangedTo(scl,'true'), where scl is of type boolean.
Thank you very much for your precious help.
回答(1 个)
Muthukumar Ganesan
2022-7-27
0 个投票
Hi,
Yes we can use it, this is the syntax hasChangedTo(scl,true).
Thanks.
类别
在 帮助中心 和 File Exchange 中查找有关 Stateflow 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!