| Simulink Reference | ![]() |
Convert from one data type to another using inherited data type and scaling
Library
Description
The Data Type Conversion Inherited block forces dissimilar data types to be the same. The first (top) input is used as the reference signal and the second (bottom) input is converted to the reference type by inheriting the data type and scaling information. Either input is scalar expanded such that the output has the same width as the widest input.
Inheriting the data type and scaling provides these advantages:
Data Type Support
The Data Type Support block handles any data type supported by Simulink, including fixed-point data types.
For a discussion on the data types supported by Simulink, refer to Data Types Supported by Simulink in the Using Simulink documentation.
Parameters and Dialog Box
Real World Value (RWV) or the Stored Integer (SI) of the input and output should be the same. Refer to Description in the Data Type Conversion block reference page for more information about these choices.
Characteristics
| Direct Feedthrough |
Yes |
See Also
| Data Type Conversion | Data Type Duplicate | ![]() |
© 1994-2005 The MathWorks, Inc.