| Simulink Reference | ![]() |
Relational Operators in Embedded MATLAB Functions
Embedded MATLAB functions support the following elementwise relational operators between matrix operands (maximum two-dimensional) of type double or single of the same size. See Relational Operators < > <= >= == ~= in MATLAB online help for detailed descriptions of each operation and any requirements for the data types of the operands.
| Operation |
Description |
< |
Less than |
<= |
Less than or equal to |
>= |
Greater than or equal to |
> |
Greater than |
== |
Equal |
~= |
Not equal |
| Arithmetic Operators in Embedded MATLAB Functions | Logical Operators in Embedded MATLAB Functions | ![]() |
© 1994-2005 The MathWorks, Inc.