xPC (Simulink RT) compiler optimization flags
2 次查看(过去 30 天)
显示 更早的评论
Is it documented anywhere on what flags are available to use for the xPC optimization settings? Typically I use Optimizations On for faster runs but I'd like to have finer control over what compiler optimizations are used.
0 个评论
回答(1 个)
Drew Davis
2015-6-8
You can find what optimization flags are set for the model you are building by looking at the generated makefile. For instance, look for the OPTIMIZATION_FLAGS variable in the mymodel.mk file to see what flags are being set. You can control the optimization flags by using the custom compiler optimization flags as shown by the documentation .
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!