matlab2008b stateflow generation code
古いコメントを表示
Hi, I've changed the matlab version from R13 to 2008b. I've got a matlab stateflow project with model library and external c file included. In R13 I've no problem to generate the code but in 2008b I must have a compiling project to generate code. Is it mandatory or is it just an option I missed ?
回答 (2 件)
Kaustubha Govind
2012 年 3 月 15 日
0 投票
You need to check the "Generate code only" box on the Configuration Parameters>Real-Time Workshop pane of the model. Try Ctrl+E on the model to open the Configuration Parameters window.
Dalmais Romain
2012 年 3 月 15 日
0 投票
1 件のコメント
Kaustubha Govind
2012 年 3 月 16 日
Hmm - my guess is that this error is occurring at model update time itself (Ctrl+D), which happens even before code-generation. I didn't know that R13 differed in this behavior. In any case, it does look like you need to stub this function, especially if you are using that function at simulation time also.
カテゴリ
ヘルプ センター および File Exchange で Decision Logic についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!