How do you specify the /02 or -o2 optimization option in the MATLAB Coder APP?

4 vues (au cours des 30 derniers jours)
How do you specify the /02 or -o2 optimization option in the MATLAB Coder APP/ GUI?
A screenshot would be helpful. I just can't seem to find any documentation online.
MEX configured to use 'Microsoft Visual C++ 2017' for C++ language compilation.
  2 commentaires
Sumit Ghosh
Sumit Ghosh le 22 Juin 2022
Modifié(e) : Sumit Ghosh le 22 Juin 2022
I would think the place to do this would be in the "Build Process" section under the "Hardware" pane that shows up when you click "More Settings" from the "Generate Code" step in the app. Here you can select your toolchain and specify the build configuration. See the image above for details.
The options appear if the build type is anything other than MEX.
ILoveMATLAB
ILoveMATLAB le 22 Juin 2022
Thanks.
Please repost as anwser if you want me to accept.

Connectez-vous pour commenter.

Réponse acceptée

Sumit Ghosh
Sumit Ghosh le 23 Juin 2022
I would think the place to do this would be in the "Build Process" section under the "Hardware" pane that shows up when you click "More Settings" from the "Generate Code" step in the app. Here you can select your toolchain and specify the build configuration. See the image above for details.
The options appear if the build type is anything other than MEX.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by