필터 지우기
필터 지우기

How to edit compiler options with codegen?

조회 수: 7 (최근 30일)
Philip
Philip 2016년 3월 11일
답변: Raghu Boggavarapu 2022년 1월 10일
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개)

Raghu Boggavarapu
Raghu Boggavarapu 2022년 1월 10일
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)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by