주요 콘텐츠

성능

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

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

블록

MATLAB Function block icon.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

도움말 항목