Hi,
Matlab supports overloading for user defined classes.
At the beginning of a method (a function that is located in the class directory) you can write:
superiorto('double','char',....
For more information type at the Matlab prompt:
>>help superiorto