Algorithm Design Basics
General information about MATLAB® code acceleration.
Describes the steps required for preparing MATLAB code and converting it to a MEX function.
Decide whether to generate code for your application.
Requirements for using
fiaccel to generate MEX code from a MATLAB
Code generation from MATLAB code requires the MATLAB Coder™ product and a C/C++ compiler.
When writing MATLAB for code generation, consider design constraints.
Generated C/C++ code can behave differently than original MATLAB source code.
The code generator identifies potential behavior differences between the generated code and the original MATLAB code.
Review potential difference messages.
Use the MATLAB language features and functions that code generation supports.