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에서 Syntax for States and Transitions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!