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

2 次查看(过去 30 天)
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 个评论
Sumit Ghosh
Sumit Ghosh 2022-6-22
编辑:Sumit Ghosh 2022-6-22
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.

请先登录,再进行评论。

采纳的回答

Sumit Ghosh
Sumit Ghosh 2022-6-23
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.

更多回答(0 个)

类别

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

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by