Main Content

Creation of Accelerated Executable

Compiled code creation and functionality


fiaccelAccelerate fixed-point code and convert floating-point MATLAB code to fixed-point MATLAB code
coder.allowpcodeControl code generation from protected MATLAB files
coder.constFold expressions into constants in generated code
coder.extrinsicDeclare a function as extrinsic and execute it in MATLAB
coder.inlineControl inlining of a specific function in generated code
coder.loadLoad compile-time constants from MAT-file or ASCII file into caller workspace
coder.mexconfigCode acceleration configuration object
coder.newtypeCreate coder.Type object to represent type of an entry-point function input
coder.nullcopyDeclare uninitialized variables in code generation
coder.resizeResize coder.Type object
coder.targetDetermine if code generation target is specified target
coder.typeofCreate coder.Type object to represent the type of an entry-point function input
coder.unrollUnroll for-loop by making a copy of the loop body for each loop iteration
coder.varsizeDeclare variable-size data


coder.ArrayTypeRepresent set of MATLAB arrays
coder.ConstantSpecification of constant value for code generation
coder.EnumTypeRepresent set of MATLAB enumerations
coder.FiTypeRepresent set of MATLAB fixed-point arrays
coder.mexconfigCode acceleration configuration object for use with fiaccel
coder.PrimitiveTypeRepresent set of logical, numeric, or char arrays
coder.StructTypeRepresent set of MATLAB structure arrays
coder.TypeRepresent set of MATLAB values


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.