Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continuous Time Restrictions in Stateflow

Status
Not open for further replies.

hajimeml

Mechanical
Jun 18, 2010
1
Hello. I have been trying to run a Simlink model (developed by another person for Matlab 2007a) on a Matlab 2010a system. I encountered the following error message:

"Illegal condition action on transition (#46). In continuous time Stateflow
charts, any transition that has an associated condition action must reach a
graphical state directly (not via other transitions). Transitions that do
not directly reach a graphical state can only have transition actions. This
restriction ensures that the zero crossings function is side-effect free.

Type "sfhelp('ContinuousTimeRestrictions')" for further information."

I read that since 2007b, there have been some changes in Stateflow. As I am not so familiar with Simulink nor Stateflow, I have no idea what that message actually means. Anybody knows (in layman terms) what it means and how to fix the model to make it works under 2010a? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor