Compiling Stateflow Charts

Post Reply
Posts: 1
Joined: Tue May 05, 2009 7:42 pm

Compiling Stateflow Charts

Post by tommyers » Tue May 05, 2009 7:46 pm


I have a simulink model containing a stateflow chart, I also have Real Time Workshop and Real Time Workshop Embedded Coder. Could you tell me whether it is possible to compile the state flow chart as a switch case statement for the dsPIC, or such like? If it is possible could you tell me where I could find this procedure.

Many Thanks.


Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France

Re: Compiling Stateflow Charts

Post by LubinKerhuel » Wed May 06, 2009 12:40 am

Hi Tom,

You will also need Stateflow Coder :
For compiling the stateflow model, just place it in a simulink model, and compile the simulink model.
Have a look on the many examples (and video)


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest