Adding optimization flags to coder functions

3 vues (au cours des 30 derniers jours)
connor flanigan
connor flanigan le 29 Jan 2019
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.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by