|MATLAB Function Reference|
Superior class relationship
superiorto function establishes a hierarchy that determines the order in which MATLAB calls object methods.
invoked within a class constructor method (say
myclass.m) indicates that
myclass's method should be invoked if a function is called with an object of class
myclass and one or more objects of class
class2, and so on.
A is of class
B is of class
C is of class
'class_c'. Also suppose the constructor
class_c.m contains the statement:
e = fun(a,c) or
e = fun(c,a) invokes
If a function is called with two objects having an unspecified relationship, the two objects are considered to have equal precedence, and the leftmost object's method is called. So,