주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

성능

생성된 코드 성능 향상을 위한 지침

코드 생성에 사용할 MATLAB® 알고리즘을 설계할 경우 생성된 코드의 성능을 개선하려면 다음 지침을 따릅니다.

블록

MATLAB FunctionSimulink 모델에 MATLAB 코드 포함

함수

coder.areUnboundedVariableSizedArraysSupportedCheck if current configuration settings allow unbounded variable-size arrays (R2024a 이후)
coder.inlineControl inlining of current function in generated code
coder.inlineCallInline called function in generated code (R2024a 이후)
coder.nonInlineCallPrevent inlining of called function in generated code (R2024a 이후)
coder.unrollUnroll for-loop by making a copy of the loop body for each loop iteration
coder.constFold expressions into constants in generated code

도움말 항목