Type-Incomplete Matlab Equality Support-Collection of common programming errors
Why can’t I compare specific types such as, function handles, using the ==
operation in Matlab?
For instance
@prod == @sum
fails with error
Undefined function 'eq' for input arguments of type 'function_handle'.
Does this mean that this type can support comparison if we just specify overload ==
for function_handle
types?
Originally posted 2013-11-09 19:42:38.