Documentation

Fixed-Point Designer Classes

Alphabetical List By Category

Fixed-Point Basics

Fixed-Point Basics in MATLAB

embedded.fi Fixed-point numeric object
embedded.fimath fimath object
embedded.numerictype numerictype object

Fixed-Point Design for MATLAB Code

Fixed-Point Functions

Simulation Acceleration

coder.ArrayType Represent set of MATLAB arrays
coder.CellType Represent set of MATLAB cell arrays
coder.Constant Represent set containing one MATLAB value
coder.EnumType Represent set of MATLAB enumerations
coder.FiType Represent set of MATLAB fixed-point arrays
coder.MexConfig Code acceleration configuration object for use with fiaccel
coder.PrimitiveType Represent set of logical, numeric, or char arrays
coder.StructType Represent set of MATLAB structure arrays
coder.Type Represent set of MATLAB values

Programming and Data Types

Object-Oriented Programming
fi Construct fixed-point numeric object
fipref Set fixed-point preferences
savefipref Save fi preferences for next MATLAB session
fimath Set fixed-point math settings
numerictype Construct numerictype object
quantizer Construct quantizer object
assignmentquantizer Assignment quantizer object of fi object
mat2str Convert matrix to string
get Property values of object
subsasgn Subscripted assignment
subsref Subscripted reference
removefimath Remove fimath object from fi object
reset Reset objects to initial conditions
set Set or display property values for quantizer objects
setfimath Attach fimath object to fi object
sfi Construct signed fixed-point numeric object
tostring Convert numerictype or quantizer object to string
ufi Construct unsigned fixed-point numeric object
unitquantizer Constructor for unitquantizer object
fixed.aggregateType Compute aggregate numerictype

Algorithm Acceleration

Algorithm Design for Acceleration

Data Definition
Cell Arrays
coder.CellType Represent set of MATLAB cell arrays

Accelerated Algorithm Generation

Input Specification
coder.ArrayType Represent set of MATLAB arrays
coder.CellType Represent set of MATLAB cell arrays
coder.Constant Represent set containing one MATLAB value
coder.EnumType Represent set of MATLAB enumerations
coder.FiType Represent set of MATLAB fixed-point arrays
coder.PrimitiveType Represent set of logical, numeric, or char arrays
coder.StructType Represent set of MATLAB structure arrays
coder.Type Represent set of MATLAB values
Build Configuration
coder.MexConfig Code acceleration configuration object for use with fiaccel
Creation of Accelerated Executable
coder.ArrayType Represent set of MATLAB arrays
coder.Constant Represent set containing one MATLAB value
coder.EnumType Represent set of MATLAB enumerations
coder.FiType Represent set of MATLAB fixed-point arrays
coder.PrimitiveType Represent set of logical, numeric, or char arrays
coder.StructType Represent set of MATLAB structure arrays
coder.Type Represent set of MATLAB values
coder.MexConfig Code acceleration configuration object for use with fiaccel

Algorithm Conversion

Automated Conversion

coder.MexConfig Code acceleration configuration object for use with fiaccel
coder.FixptConfig Floating-point to fixed-point conversion configuration object
coder.ArrayType Represent set of MATLAB arrays
coder.Constant Represent set containing one MATLAB value
coder.EnumType Represent set of MATLAB enumerations
coder.FiType Represent set of MATLAB fixed-point arrays
coder.PrimitiveType Represent set of logical, numeric, or char arrays
coder.StructType Represent set of MATLAB structure arrays
coder.Type Represent set of MATLAB values

Fixed-Point Design for Simulink Models

Conversion Using Simulation Data

Prepare Model for Conversion

DataTypeWorkflow.Converter Create fixed-point converter object

Generate a Floating-Point Baseline

DataTypeWorkflow.Converter Create fixed-point converter object

Propose Data Types

DataTypeWorkflow.Converter Create fixed-point converter object
DataTypeWorkflow.ProposalSettings Proposal settings object for data type proposals

Verify Fixed-Point Data Types

DataTypeWorkflow.Converter Create fixed-point converter object
DataTypeWorkflow.Result Object containing run result information
DataTypeWorkflow.DiffRunResult Results from comparing two simulation runs
DataTypeWorkflow.DiffSignalResult Results from comparing two signals

Conversion Using Range Analysis

Prepare Model for Conversion

DataTypeWorkflow.Converter Create fixed-point converter object

Derive Ranges

DataTypeWorkflow.Converter Create fixed-point converter object

Propose Data Types

DataTypeWorkflow.Converter Create fixed-point converter object
DataTypeWorkflow.ProposalSettings Proposal settings object for data type proposals

Verify Fixed-Point Data Types

DataTypeWorkflow.Converter Create fixed-point converter object
DataTypeWorkflow.Result Object containing run result information
DataTypeWorkflow.DiffRunResult Results from comparing two simulation runs
DataTypeWorkflow.DiffSignalResult Results from comparing two signals

Single-Precision Design for MATLAB Code

coder.SingleConfig Double-precision to single-precision conversion configuration object
Was this topic helpful?