How can I debug the code generated from my Stateflow chart?
1 view (last 30 days)
Show older comments
I have a .dll file generated from Stateflow. i would like to debug it, similar to using the -g option with S-Functions.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
Documentation on how to debug the generated code from a Stateflow chart is missing from the Stateflow documentation.
To work around this issue, download the example MATLAB file (sf_example.m) and HTML-file (sf_example.html) available below:
This example was created as an example for Stateflow Coder 6.5 (R2006b). If you are using a version earlier than Stateflow Coder 6.0 (R14) , read the following:
The syntax used by Stateflow Coder is a little different. You need to change the call which reads:
sf feature developer on
to the following syntax:
sf Feature developer on
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!