Exit state transition issue in stateflow 6.0

Hi, I am using stateflow 6.0 designing a simple stateflow with one OFF state and ON state.Default transition is to the OFF state.When the simulation begins, in the first time sample the OFF state is enabled but at this time eventhough the exit condition for the OFF state is TRUE the execution doesnt shift to ON state,instead it goes to ON state on the next execution cycle only.
Can anybody clarify me on this please?

 Accepted Answer

You may want to have a read of Stateflow Chart Semantics in the documentation. Enabling Super Step Semantics might allow you to perform the exit of the OFF state in the first time step.
HTH,
Arnaud

2 Comments

Hi Arnaud,
Thanks for your amswer.But i am looking for a solution on matlab version 2006b.Is there any possibility?
Can you upload your model to a filesharing site?
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!