stateflow "if else if else" structure not working properly
Mostrar comentarios más antiguos
hi,
I am trying to make a stateflow chart using the if-else-if-else pattern in the tool panel but somehow the conditions aren't followed and it keeps executing the first condition's action even if the that ain't true.
how can I make it consider other conditions as well?
below attached is the screenshot of the same
the output is always "snow and haze" even if the input changes.

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Decision Logic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!