Conversione e casting del tipo di dati
La conversione e il casting del tipo di dati si riferiscono al passaggio da un tipo di dati a un altro. Fixed-Point Designer™ consente di creare e ottimizzare i tipi di dati che soddisfano i requisiti di precisione numerica e i vincoli dell'hardware target.
Argomenti
- Parameter and Signal Conversions
Conversions of data types of parameters and signals in Simulink® simulations.
- Conversions and Arithmetic Operations
Example highlighting how the data types are converted and arithmetic operations are performed on inputs and parameters in the Simulink software.
- Aritmetica in virgola fissa
Addizione, sottrazione, moltiplicazione, conversioni, modulo e aritmetica in complemento a due.
- Cast from Doubles to Fixed Point
Simulate a continuous signal with fixed-point data types using Fixed-Point Designer to adjust scaling, rounding, and overflow handling.
- Display Port Data Types
Three parts of the port display for fixed-point signals: the data type, the number of bits, and the scaling.
- fi Objects and C Integer Data Types
Comparison of ANSI C integer data type ranges, conversions, and exception handling with those of
fiobjects. - Cast fi Objects
Information on casting
fiobjects.

