convert boolean into double
이전 댓글 표시
hallo.
I have a questione.
I have to put into stateflow's chart a double variable (for condition on transition) but I have a boolean variable from simulink. I try to convert "boolean" into "double" by chart/add input (and then I choice double) but without success.
답변 (1개)
Arunkumar M
2018년 11월 13일
0 개 추천
you can typecase it like double(x) and use in your transition condition.
카테고리
도움말 센터 및 File Exchange에서 Stateflow에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!