Main Content

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Conversión automatizada a punto fijo en MATLAB

Conversión a punto fijo con la app Fixed-Point Converter

La app Fixed-Point Converter permite convertir código de punto flotante de MATLAB® a código de punto fijo de MATLAB.

Use fiaccel para convertir código de punto flotante de MATLAB a código de punto fijo de MATLAB en la línea de comandos.

Apps

Fixed-Point ConverterConvert MATLAB code to fixed point

Funciones

fiaccelAccelerate fixed-point code or convert floating-point MATLAB code to fixed-point MATLAB code
coder.configCreate configuration object for fixed-point or single-precision conversion
coder.approximationCreate function replacement configuration object
coder.allowpcodeControl code generation from P-code files
coder.constFold expressions into constants in generated code
coder.extrinsicDeclare function as extrinsic and execute it in MATLAB
coder.inlineControl inlining of current function in generated code
coder.loadLoad compile-time constants from MAT-file or ASCII file
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

Clases

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

Temas

Flujo de trabajo de conversión automatizada a punto fijo

Proponer tipos de punto fijo

Convertir a punto fijo

Verificar la conversión a punto fijo

Funcionalidades de lenguaje admitidas

Flujo de trabajo de línea de comandos

Solución de problemas

Generated Fixed-Point Code

Avoid issues with generated fixed-point code.

Data Type Issues in Generated Code

Highlight potential data type issues in report.

Debug Numerical Issues in Fixed-Point Conversion Using Variable Logging

Learn how to debug your fixed-point code when you need more than out of the box conversion.

Why Does the Fixed-Point Converter App Not Propose Data Types for System Objects?

Troubleshoot missing data type proposals for System objects.

Slow Operations in the Fixed-Point Converter App

Determine whether code generation readiness screening is causing slow operations in the app.