Comparison Blocks


Odd

 

File: general_blocks/Comparison/odd.sim
Description
The model generates a logical TRUE (nonzero) if the port in is an odd integer.
If the port in is not an odd interger, the model generates a logical FALSE (zero).
Ports
Input Ports
Output Ports
Parameters

Even



File: general_blocks/Comparison/even.sim
Description
A logical TRUE is generated if the port in is an even number. A logical
FALSE is generated if on odd number in on port i n.
Ports
Input Ports
Output Ports
Parameters

Set_Equals


File: general_blocks/Comparison/Set_equals.sim
Description
The model compares the values of the two input set values.
If equal a logical TRUE  is on the port out . Otherwise a logical
FALSE is on the port out.
Ports
Input Ports
Output Ports
Parameters

R_LessThanOrEqual


File: general_blocks/Comparison/R_lessthanorequal.sim
Description
The model compairs in1 and in2. If the value of in1 is less than or equal
to the value of in2, a logical TRUE is placed on the port out. Otherwise, the
value is a logical FALSE.
Ports
Input Ports
Output Ports
Parameters

R_LessThan


File: general_blocks/Comparison/R_lessthan.sim
Description
The model compares in1 to in2. If the value of in1 is less than in2 ,
a logical TRUE is placed on the port out. Otherwise, the value of out will be zero.
Ports
Input Ports
Output Ports
Parameters

R_GreaterThanOrEqual


File: general_blocks/Comparison/R_greaterthanorequal.sim
Description
The model compairs in1 and in2. If the value of in1 is greater than or equal
to the value of in2, a logical TRUE is placed on the port out. Otherwise, the
value is a logical FALSE.
Ports
Input Ports
Output Ports
Parameters

R_GreaterThan


File: general_blocks/Comparison/R_greaterthan.sim
Description
The model compairs in1 and in2. If the value of in1 is greater than the value of in2,
a logical TRUE is placed on the port out . Otherwise, the value is a logical FALSE.
Ports
Input Ports
Output Ports
Parameters

R_Equals


File: general_blocks/Comparison/R_equals.sim
Description
The model compares in1 to in2. If the values of the two inputs are equal,
a logical TRUE is placed on the port out. The out value will be a logical
FALSE otherwise.
Ports
Input Ports
Output Ports
Parameters

I_LessThanOrEqualE


File: general_blocks/Comparison/I_lessthanorequal.sim
Description
The model compairs in1 and in2. If the value of in1 is less than or equal
to the value of in2, a logical TRUE is placed on the port out. Otherwise, the
value is a logical FALSE.
Ports
Input Ports
Output Ports
Parameters

I_LessThan



File: general_blocks/Comparison/I_lessthan.sim
Description
The model compares in1 to in2. If the value of in1 is less than in2 ,
a logical TRUE is placed on the port out. Otherwise, the value of out will be zero.
Ports
Input Ports
Output Ports
Parameters

I_GreaterThanOrEqual


File: general_blocks/Comparison/I_greaterthanorequal.sim
Description
The model compairs in1 and in2. If the value of in1 is greater than or equal
to the value of in2, a logical TRUE is placed on the port out. Otherwise, the
value is a logical FALSE.
Ports
Input Ports
Output Ports
Parameters

I_GreaterThan


File: general_blocks/Comparison/I_greaterthan.sim
Description
The model compares in1 to in2. If the value of in1 is greater than in2 ,
a logical TRUE is placed on the port out. Otherwise, the value of out will be zero.
Ports
Input Ports
Output Ports
Parameters

I_Equals



File: general_blocks/Comparison/I_equals.sim
Description
The model compares in1 to in2. If the values of the two inputs are equal,
a logical TRUE is placed on the port out. The out value will be a logical
FALSE otherwise.
Ports
Input Ports
Output Ports
Parameters

StringEqualsParam



File: general_blocks/Comparison/StringEqualsParam.sim
Description
The model compares the input String to the Parameter String. If the values of the two are equal, the input DSin passes through to the port True otherwise passes out the port False .
Ports
Input Ports
Output Ports
Parameters