xPC (Simulink RT) compiler optimization flags

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.

Antworten (1)

Drew Davis
Drew Davis am 8 Jun. 2015

0 Stimmen

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 .

Kategorien

Mehr zu Manual Performance Optimization finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Jun. 2015

Beantwortet:

am 8 Jun. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by