Fixed-Point Blockset    
Conversion

Convert from one Fixed-Point Blockset data type to another

Library

Data Type

Description

The Conversion block is a masked S-function that converts from one Fixed-Point Blockset data type to another.

This block requires that you specify the data type and scaling for the conversion. If you want to inherit this information from an input signal, you should use the Conversion Inherited block.

For a detailed description of all block parameters, refer to Block Parameters. For more information about converting from one Fixed-Point Blockset data type to another, refer to Signal Conversions.

Parameters and Dialog Box

Input and Output to have equal
Specify the type of value of the input and output that are to be equal.
Output data type and scaling
Specify the output data type and scaling via the dialog box, or inherit the data type and scaling via backpropagation.
Output data type
Any data type supported by the Fixed-Point Blockset.
Output scaling
Set the output scaling using radix point-only or [Slope Bias] scaling. These scaling modes are available only for generalized fixed-point data types.
Lock output scaling so autoscaling tool can't change it
If selected, Output scaling is locked. This feature is available only for generalized fixed-point output.
Round toward
Rounding mode for the fixed-point output.
Saturate to max or min when overflows occur
If selected, fixed-point overflows saturate.

Characteristics

Input Ports
Any data type supported by the blockset
Output Port
Any data type supported by the blockset
Direct Feedthrough
Yes

See Also

Conversion Inherited


  Constant Conversion Inherited