This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Creation of Accelerated Executable

Compiled code creation and functionality

Functions

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 extrinsic function or functions
coder.inlineControl inlining in generated code
coder.loadLoad compile-time constants from MAT-file or ASCII file into caller workspace
coder.newtypeCreate a coder.Type object
coder.nullcopyDeclare uninitialized variables in code generation
coder.resizeResize a 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.mexconfigCode acceleration configuration object

Classes

coder.ArrayTypeRepresent set of MATLAB arrays
coder.ConstantRepresent set containing one MATLAB value
coder.EnumTypeRepresent set of MATLAB enumerations
coder.FiTypeRepresent set of MATLAB fixed-point arrays
coder.PrimitiveTypeRepresent set of logical, numeric, or char arrays
coder.StructTypeRepresent set of MATLAB structure arrays
coder.TypeRepresent set of MATLAB values
coder.MexConfigCode acceleration configuration object for use with fiaccel

Examples and How To

Accelerate Code Using fiaccel

Accelerating fixed-point code via compiled C code MEX function generation

Accelerate Fixed-Point Simulation

This example shows how to accelerate fixed-point algorithms using fiaccel function.

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.

Concepts

Control Run-Time Checks

Describes how and why to use run-time checks