C code generation using Flow Graph of StateFlow(Simulink)

2 ビュー (過去 30 日間)
Haksun Lee
Haksun Lee 2015 年 10 月 12 日
回答済み: Sebastian Castro 2015 年 10 月 12 日
Hello!
I am struggling to make C code using stateflow of Simulink.
When I use state(square box), C code generation is done well. But once I use flow graph using junction(circle), C code generation isn't done well.
For example, I use flow graph for IF statement but C code don't show IF statement.
Why isn't flow graph generated to C code? I look forward to waiting your answer.

回答 (1 件)

Sebastian Castro
Sebastian Castro 2015 年 10 月 12 日
I am sure this depends on many factors. The main one, I think, would be optimizations to make the code more efficient.
Without knowing anything about your chart or code generation options, I couldn't tell you much more than that.
- Sebastian

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by