Fixed-Point Blockset | ![]() ![]() |
Convert a Simulink data type to a Fixed-Point Blockset data type, and inherit the data type and scaling
Library
Description
The Gateway In Inherited block is a masked S-function that converts a built-in Simulink data type to a Fixed-Point Blockset data type.
The block requires two inputs. The first (top) input provides the data type and scaling information. The second (bottom) input passes through to the output, and inherits the data type and scaling of the first input. If you want to explicitly specify the output data type and scaling, use the Gateway In block.
The Input and Output to have equal parameter list controls how the input is processed. The possible values are Real World Value and Stored Integer. In terms of the general encoding scheme described in Scaling, Real World Value treats the input as V = SQ + B where S is the slope and B is the bias. Stored Integer treats the input as a stored integer, Q. For more information about this parameter list, refer to the Gateway In block.
For a detailed description of all other block parameters, refer to Block Parameters.
Inheriting the data type and scaling provides these advantages:
Parameters and Dialog Box
Characteristics
Input Port |
Any built-in Simulink data type |
Output Port |
Any data type supported by the blockset |
Direct Feedthrough |
Yes |
Scalar Expansion |
No |
See Also
![]() | Gateway In | Gateway Out | ![]() |