Adding optimization flags to coder functions

3 views (last 30 days)
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.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!