Compiling Stateflow Charts

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

Compiling Stateflow Charts

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

Hi,

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.

Regards,
Tom

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

Re: Compiling Stateflow Charts

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

Hi Tom,

You will also need Stateflow Coder : http://www.mathworks.fr/products/sfcoder/
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) http://www.kerhuel.eu/wiki/Category:Example

Lubin

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests