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.

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)

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 Decision Logic in Help Center and File Exchange

Tags

Asked:

on 25 Dec 2019

Answered:

on 27 Jan 2020

Community Treasure Hunt

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

Start Hunting!