Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Jun 18, 2010
Messages
1
Location
HK
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

Back
Top