Documentation

Fixed-Point Designer Classes

Alphabetical List By Category

Fixed-Point Basics

Fixed-Point Basics in MATLAB

embedded.fiFixed-point numeric object
embedded.fimathfimath object
embedded.numerictypenumerictype object

Fixed-Point Design for MATLAB Code

Fixed-Point Functions

Simulation Acceleration

coder.ArrayTypeRepresent set of MATLAB arrays
coder.CellTypeRepresent set of MATLAB cell arrays
coder.ConstantRepresent set containing one MATLAB value
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

Programming and Data Types

Object-Oriented Programming
fiConstruct fixed-point numeric object
fiprefSet fixed-point preferences
savefiprefSave fi preferences for next MATLAB session
fimathSet fixed-point math settings
numerictypeConstruct numerictype object
quantizerConstruct quantizer object
assignmentquantizerAssignment quantizer object of fi object
mat2strConvert matrix to string
getProperty values of object
subsasgnSubscripted assignment
subsrefSubscripted reference
removefimathRemove fimath object from fi object
resetReset objects to initial conditions
setSet or display property values for quantizer objects
setfimathAttach fimath object to fi object
sfiConstruct signed fixed-point numeric object
tostringConvert numerictype or quantizer object to string
ufiConstruct unsigned fixed-point numeric object
unitquantizerConstructor for unitquantizer object
fixed.aggregateTypeCompute aggregate numerictype

Algorithm Acceleration

Algorithm Design for Acceleration

Data Definition
Cell Arrays
coder.CellTypeRepresent set of MATLAB cell arrays
MATLAB Classes
coder.ClassTypeRepresent set of MATLAB classes

Accelerated Algorithm Generation

Input Specification
coder.ArrayTypeRepresent set of MATLAB arrays
coder.CellTypeRepresent set of MATLAB cell arrays
coder.ClassTypeRepresent set of MATLAB classes
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
Build Configuration
coder.MexConfigCode acceleration configuration object for use with fiaccel
Creation of Accelerated Executable
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

Algorithm Conversion

Automated Conversion

coder.MexConfigCode acceleration configuration object for use with fiaccel
coder.FixptConfigFloating-point to fixed-point conversion configuration object
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

Fixed-Point Design for Simulink Models

Convert to Fixed Point

Prepare System for Conversion

DataTypeWorkflow.ConverterCreate fixed-point converter object

Collect Ranges

DataTypeWorkflow.ConverterCreate fixed-point converter object

Convert to Fixed Point

DataTypeWorkflow.ConverterCreate fixed-point converter object
DataTypeWorkflow.ProposalSettingsProposal settings object for data type proposals

Verify Fixed-Point Conversion

DataTypeWorkflow.ConverterCreate fixed-point converter object
DataTypeWorkflow.ResultObject containing run result information
DataTypeWorkflow.DiffRunResultResults from comparing two simulation runs
DataTypeWorkflow.DiffSignalResultResults from comparing two signals

Single-Precision Design for MATLAB Code

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