Exit state transition issue in stateflow 6.0

2 views (last 30 days)
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

Arnaud Miege
Arnaud Miege on 6 Apr 2011
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
Rajesh
Rajesh on 1 Aug 2011
Hi Arnaud,
Thanks for your amswer.But i am looking for a solution on matlab version 2006b.Is there any possibility?
Arnaud Miege
Arnaud Miege on 1 Aug 2011
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

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!