convert boolean into double

50 visualizaciones (últimos 30 días)
Emily Baldi
Emily Baldi el 22 de En. de 2015
Respondida: Arunkumar M el 13 de Nov. de 2018
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.

Respuestas (1)

Arunkumar M
Arunkumar M el 13 de Nov. de 2018
you can typecase it like double(x) and use in your transition condition.

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by