Stateflow chart getting stuck in the xpctarget environment

4 views (last 30 days)
A simple circular stateflow statechart diagram is able to consistently trigger from one state to another on sequential event inputs when operating Normal mode in Simulink.
But when the same diagram is compiled and downloaded in xpctarget it will trigger on the first occurrence of an event (rising edge trigger), but after that fails to trigger on subsequent events.
Is there a bug in stateflow causing this issue?
I'm running version 8.0 (R2012b)
  3 Comments
Suneesh
Suneesh on 3 Apr 2014
I made a model based on my understanding of what you both have described. The attached model ran and produced outputs AS EXPECTED in R2013b and R2014a. Did I miss anything? Would you be able to provide an example model perhaps?
Nille Vanille
Nille Vanille on 4 Apr 2014
Thank you for your reply. Your model worked fine. With the help of your model I could find my mistakes.
Thank you very much!

Sign in to comment.

Answers (0)

Categories

Find more on Event 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!