Conversione manuale in virgola fissa in MATLAB
Utilizzare la funzione buildInstrumentedMex
per strumentalizzare l’algoritmo e registrare i valori minimi e massimi di tutte le variabili con nome e intermedie. Utilizzare la funzione showInstrumentationResults
per proporre tipi di dati in virgola fissa basati su questi valori registrati.
Funzioni
Argomenti
- Fixed-Point Conversion Workflows
Learn which fixed-point conversion method best matches your end goal and your level of fixed-point expertise.
- Decide Which Workflow Is Right for Your Application
Learn the benefits of each conversion workflow to help you decide which one best fits your needs.
- Manual Fixed-Point Conversion Workflow
Learn about workflow for manual float-to-fixed conversion.
- Manual Fixed-Point Conversion Best Practices
Get from generic MATLAB® code to an efficient fixed-point implementation using manual fixed-point conversion.
- Conversione manuale di un algoritmo MATLAB in virgola mobile in uno in virgola fissa
Esplorare le best practice per la conversione manuale in virgola fissa.
- Know When a Function Is Supported for Instrumentation and Acceleration
Determine which functions are supported for fixed-point conversion.
Informazioni complementari
Risoluzione dei problemi
Resolve Error: Function Is Not Supported for Fixed-Point Conversion
Troubleshoot functions that are not supported for fixed-point conversion.
Troubleshoot fi*
non-fi
errors.
Resolve Error: Data Type Mismatch
Troubleshoot data type mismatch errors.
Resolve Error: Mismatched fimath
Troubleshoot mismatched fimath
errors.