|MATLAB Function||Include MATLAB code in models that generate embeddable C code|
Generate a copy of
for each loop iteration.
Inlining eliminates the overhead of a function call by replacing the function call with the body of the function.
Use the same variable as a function input and output.
To reuse functions, save them in files or integrate external functions into generated code.
Improve performance by disabling run-time checks.
LAPACK function calls improve the simulation speed of MATLAB Function block algorithms that call certain linear algebra functions.