How to edit compiler options with codegen?
Mostra commenti meno recenti
I am compiling at matlab function into a mex using codegen. I'd like to edit the compiler flags (specifically the optimization options) that is used with codegen. I see how I can do that with mex, but not codegen. Any help is appreciated.
1 Commento
Karl Erik Thoresen
il 24 Gen 2019
Did you figure it out?
Risposte (1)
Raghu Boggavarapu
il 10 Gen 2022
0 voti
You can use coder.updateBuildinfo to add additional compiler flags and linker flags of target compiler: Update build information object RTW.BuildInfo - MATLAB coder.updateBuildInfo (mathworks.com)
Categorie
Scopri di più su MATLAB Algorithm Acceleration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!