How can I debug the code generated from my Stateflow chart?

I have a .dll file generated from Stateflow. i would like to debug it, similar to using the -g option with S-Functions.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by