Main Content
Creation of Accelerated Executable
Compiled code creation and functionality
Functions
fiaccel | Accelerate fixed-point code or convert floating-point MATLAB code to fixed-point MATLAB code |
coder.allowpcode | Control code generation from P-code files |
coder.areUnboundedVariableSizedArraysSupported | Check if current configuration settings allow unbounded variable-size arrays (Since R2024a) |
coder.const | Fold expressions into constants in generated code |
coder.extrinsic | Declare function as extrinsic and execute it in MATLAB |
coder.inline | Control inlining of current function in generated code |
coder.inlineCall | Inline called function in generated code (Since R2024a) |
coder.load | Load compile-time constants from MAT-file or ASCII file |
coder.newtype | Create coder.Type object to represent type of an entry-point
function input |
coder.nonInlineCall | Prevent inlining of called function in generated code (Since R2024a) |
coder.nullcopy | Declare uninitialized variables in generated code |
coder.resize | Resize coder.Type object |
coder.target | Determine if code generation target is specified target |
coder.typeof | Create coder.Type object to represent the type
of an entry-point function input |
coder.unroll | Unroll for -loop by making a copy of
the loop body for each loop iteration |
coder.varsize | Resolve size mismatch errors and declare upper bounds |
Classes
coder.ArrayType | Represent set of MATLAB arrays acceptable for input specification |
coder.Constant | Specification of constant value for code generation |
coder.EnumType | Represent set of MATLAB enumerations acceptable for input specification |
coder.FiType | Represent set of MATLAB fixed-point arrays acceptable for input specification |
coder.mexconfig | Code acceleration configuration object for use with
fiaccel |
coder.PrimitiveType | Represent set of logical, numeric, or character arrays acceptable for input specification |
coder.StructType | Represent set of MATLAB structure arrays acceptable for input specification |
coder.Type | Represent set of MATLAB values acceptable for input specification |
Topics
- Accelerate Code Using fiaccel
Accelerating fixed-point code via compiled C code MEX function generation.
- Accelerate Code for Variable-Size Data
Describes how Fixed-Point Designer works with variable-size data.
- Generate C Code from Code Containing Global Data
Describes how to compile functions that use global data and how to synchronize global data with MATLAB.
- Specify Number of Entry-Point Function Input or Output Arguments to Generate
Control the number of arguments in generated entry-point functions.
- Control Run-Time Checks
Describes how and why to use run-time checks.