|Control code generation from protected MATLAB files|
|Call external C/C++ function|
|Include header file in generated code|
|Name structure in generated code|
|Declare extrinsic function or functions|
|Control inlining in generated code|
|Load compile-time constants from MAT-file or ASCII file into caller workspace|
|Declare uninitialized variables|
|Declare variable in generated code|
|Pass argument by reference|
|Pass argument by reference as read-only input|
|Determine if code generation target is specified target|
|Unroll for-loop by making a copy of the loop body for each loop iteration|
|Declare variable-size array|
|Pass argument as write-only reference|
Decide whether to generate code for your application.
Choose code generation feature for your application.
Code generation from MATLAB® code requires the MATLAB Coder™ product and a C/C++ compiler.
Generated C/C++ code can behave differently than original MATLAB source code.
Use the MATLAB language features and functions that code generation supports.
When writing MATLAB for code generation, consider design constraints.