Skip to Main Content Skip to Search
Product Documentation

relationaloperators (handle) - Equality and sorting of handle objects

Syntax

TF = eq(H1,H2)
TF = ne(H1,H2)
TF = lt(H1,H2)
TF = le(H1,H2)
TF = gt(H1,H2)
TF = ge(H1,H2)

Description

TF = eq(H1,H2)

TF = ne(H1,H2)

TF = lt(H1,H2)

TF = le(H1,H2)

TF = gt(H1,H2)

TF = ge(H1,H2)

For each pair of input arrays (H1 and H2), a logical array of the same size is returned in which each element is an element-wise equality or comparison test result. These methods perform scalar expansion in the same way as the MATLAB built-in functions. See relationaloperators for more information.

You can make the following assumptions about the result of a handle comparison:

Use isequal when you want to determine if handle objects with different handles have the same data in all object properties.

See Also

handle | meta.class

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS