The hasChangedTo function in a stateflow chart applied to a boolean

조회 수: 1 (최근 30일)
imane RGUIB
imane RGUIB 2018년 12월 19일
답변: Muthukumar Ganesan 2022년 7월 27일
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
Muthukumar Ganesan 2022년 7월 27일
Hi,
Yes we can use it, this is the syntax hasChangedTo(scl,true).
Thanks.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by