Author Topic: Continuous Time Restrictions in Stateflow  (Read 698 times)

Offline hajimeml

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
Continuous Time Restrictions in Stateflow
« on: June 18, 2010, 02:01:47 PM »
Hello. I have been trying to run a simulink model (developed by somebody else for Matlab 2007a) on a Matlab 2010a system. I keep getting the following message:"Illegal condition action on transition (#46). In continuous time Stateflowcharts, any transition that has an associated condition action must reach agraphical state directly (not via other transitions). Transitions that donot directly reach a graphical state can only have transition actions. Thisrestriction ensures that the zero crossings function is side-effect free.
Type "sfhelp('ContinuousTimeRestrictions')" for further information."

I read that there has been changes in Stateflow since 2007b. As I am not
familiar with Simulink/Stateflow, anybody knows exactly what this error
is all about and how to fix the model to make it works under 2010a? Thanks.

Offline England90

  • Jr. Member
  • *
  • Posts: 15
  • Matlab Forum
    • View Profile
Re: Continuous Time Restrictions in Stateflow
« Reply #1 on: October 28, 2010, 09:42:38 AM »
The program is very good, but what you say is not yet the problem so that I know to edit!

Matlab and SimuLink Development Forum

Re: Continuous Time Restrictions in Stateflow
« Reply #1 on: October 28, 2010, 09:42:38 AM »