The hasChangedTo function in a stateflow chart applied to a boolean
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Muthukumar Ganesan
2022년 7월 27일
Hi,
Yes we can use it, this is the syntax hasChangedTo(scl,true).
Thanks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!