Adding optimization flags to coder functions

I'd like to add GCC compiler flags to mex calls made by the Coder when generating a .mex file from a .m file. Specifically, I'd like to be able to choose the optimization level, which seems to be stuck at O2 when the compiler is set to generate fast code, and which vectorization instructions are enabled.

Risposte (0)

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Tag

Richiesto:

il 29 Gen 2019

Community Treasure Hunt

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

Start Hunting!

Translated by