Code generation of huge Embedded Matlab functions in Simulink
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I am working on a Simulink model with several Embedded Matlab Function blocks in it. In one of these blocks, I am using a very huge function with a lot of large expressions in it. So everytime I make a change somewhere else in the model, a new C-code is compiled for the whole model, which takes so much time due to this one huge function in the Embedded Matlab Function block. So, how can I tell Simulink NOT to generate a new C-code for this particular function or for the appropriate Embedded Matlab function block?
4 件のコメント
回答 (1 件)
Fangjun Jiang
2011 年 8 月 24 日
It could be a good use case for Model Reference. Put your large EMF block into a model and then reference it. As long as the EMF or that model is not changed, it only needs to be compiled once. And you have other options too to make it run even faster.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!