FORUM TOPIC · READ ONLY
Compiling Stateflow Charts
Compiling Stateflow Charts
Forum : Advanced Simulink & RTW Questions
2 message(s) · archive en lecture seule
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
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
Re: Compiling Stateflow Charts
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
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