convert boolean into double
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponses (1)
Arunkumar M
le 13 Nov 2018
you can typecase it like double(x) and use in your transition condition.
0 commentaires
Voir également
Catégories
En savoir plus sur Stateflow dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!