Adding optimization flags to coder functions

3 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by