Simulink: Run model again without recompiling
29 次查看(过去 30 天)
显示 更早的评论
Hello!
How do I set up my model so that it only needs to be compiled once and can then be run multiple times? My model takes about 1-2 minutes for compiling and initializing, and then only a couple of seconds to run the simulation, so simply using the previously generated compilation should bring much better performance...
0 个评论
回答(2 个)
Kaustubha Govind
2013-6-12
Would you perhaps want to consider referencing your model as part of another test harness model (see Model Reference). If the referenced model is setup to run in Accelerator mode, the C-code for it is only generated once and won't need to be re-compiled unless there are structural or dependency changes.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Component-Based Modeling 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!