convert boolean into double

조회 수: 48 (최근 30일)
Emily Baldi
Emily Baldi 2015년 1월 22일
답변: Arunkumar M 2018년 11월 13일
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
Arunkumar M 2018년 11월 13일
you can typecase it like double(x) and use in your transition condition.

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by