How to simulate a Do-While loop in MATLAB using Stateflow model ? I need to simulate an alarm using do-while loop and it is a part of my assignment. Please do the needful to help me.

1 view (last 30 days)
When I tried solving the problem it showed that the input should be given in a non-scalar form. I am stuck in this. Even though I give the input in non-scalar form, I am not getting any output.

Answers (1)

stozaki
stozaki on 27 Jan 2020
I attached example script and stateflow chart model.
I can't attach the .SFX file, so I zipped and attached.
Regards,
stozaki

Categories

Find more on Complex Logic in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!