FixPt Gateway In Inherited Anchor
Description
...
The FixPt Gateway In Inherited block is a masked S-function that converts a built-in Simulink data type to a Fixed-Point Blockset data type. 44463 Anchor
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 FixPt Gateway In (file:///Users/denisova/Documents/FixedPointBlks/matrix.etseq.urv.es/manuals/matlab/toolbox/fixpoint/fixptgatewayin.html) block. Anchor
The Treat input as 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 Integertreats Integer treats the input as a stored integer, Q. For more information about this parameter list, refer to the FixPt Gateway In block.
anchor
Remarks
Anchor
Anchor 66214 66214 It makes reusing existing models easier.
Anchor 66215 66215It allows you to create new fixed-point models with less effort since you can avoid the detail of specifying the associated parameters.
...
Parameters and Dialog Box
...
Anchor
Treat input as
...
- Treat the input as a real-world value or as an integer.
...
...
Round toward
...
- Rounding mode for fixed-point output.
...
Saturate to max or min when overflows occur
...
- If checked, fixed-point overflows saturate. Otherwise, they wrap.
...
...
Override data type(s) with doubles
...
- If checked, the output data type is overridden with doubles.
...
...
Log minimums and maximums
...
- If checked, minimum and maximum simulation values are logged to the workspace.
...
Characteristics
...
Input Port |
Any built-in Simulink data type |
Output Port |
Any data type supported by the blockset |
Direct Feedthrough |
Yes |
Sample Time |
Inherited |
Scalar Expansion |
No |
States |
0 |
Vectorized |
Yes |