The hasChangedTo function in a stateflow chart applied to a boolean
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Muthukumar Ganesan
am 27 Jul. 2022
Hi,
Yes we can use it, this is the syntax hasChangedTo(scl,true).
Thanks.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!