Function overloading
Function overloading
(OP)
Does matlab support function overloading?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: Function overloading
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
Joe
BSTEX - Equation viewer for Matlab
http://www.geocities.com/bstex2001