Main Content

Performance

Conseils pour améliorer la performance du code généré

Lorsque vous concevez des algorithmes MATLAB® destinés à la génération de code, respectez les conseils suivants pour améliorer la performance du code généré.

Blocs

MATLAB FunctionInclude MATLAB code in Simulink models

Fonctions

coder.areUnboundedVariableSizedArraysSupportedCheck if current configuration settings allow unbounded variable-size arrays (depuis R2024a)
coder.inlineControl inlining of current function in generated code
coder.inlineCallInline called function in generated code (depuis R2024a)
coder.nonInlineCallPrevent inlining of called function in generated code (depuis 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

Rubriques