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!