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

조회 수: 5 (최근 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.
ILoveMATLAB
ILoveMATLAB 2022년 6월 22일
Thanks.
Please repost as anwser if you want me to accept.

댓글을 달려면 로그인하십시오.

채택된 답변

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에서 Get Started with MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by