Main Content

Performance

Guidelines for improving generated code performance

Blocs

MATLAB FunctionInclude MATLAB code in models that generate embeddable C code

Fonctions

coder.inlineControl inlining of a specific function in generated code
coder.unrollUnroll for-loop by making a copy of the loop body for each loop iteration
coder.constFold expressions into constants in generated code

Exemples et procédures

Concepts