For the following Relational Operator blocks, the first input has the greater positive range. The second input is conver

Post Reply
sharifhosseini
Posts: 1459
Joined: Mon Mar 01, 2021 7:27 am
Contact:

For the following Relational Operator blocks, the first input has the greater positive range. The second input is conver

Post by sharifhosseini »

For the following Relational Operator blocks, the first input has the greater positive range. The second input is converted to the data type and scaling of the first input prior to performing the relational operation. A range error can occur when casting. You can insert Data Type Conversion blocks in front of the Relational Operator block to convert both inputs to a common data type that has sufficient range and precision to perfectly represent each input. The relational operation would then be error-free

For the following Relational Operator blocks, the first input has the greater positive range. The second input is converted to the data type and scaling of the first input prior to performing the relational operation. There can be a precision loss each time the conversion is performed. You can insert Data Type Conversion blocks in front of the Relational Operator block to convert both inputs to a common data type that has sufficient range and precision to perfectly represent each input. The relational operation would then be error-free





engine
Post Reply

Return to “Simulink Check”

Who is online

Users browsing this forum: No registered users and 1 guest