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

5 visualizaciones (últimos 30 días)
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 comentarios
Sumit Ghosh
Sumit Ghosh el 22 de Jun. de 2022
Editada: Sumit Ghosh el 22 de Jun. de 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 el 22 de Jun. de 2022
Thanks.
Please repost as anwser if you want me to accept.

Iniciar sesión para comentar.

Respuesta aceptada

Sumit Ghosh
Sumit Ghosh el 23 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB Coder en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by