Programming Previous page   Next Page

Querying Which Method MATLAB Will Call

You can determine which method MATLAB will call using the which command. For example,

However, if p is a portfolio object,

The which command determines which version of pie3 MATLAB will call if you passed a portfolio object as the input argument. To see a list of all versions of a particular function that are on your MATLAB path, use the -all option. See the which reference page for more information on this command.


Previous page  Selecting a Method Scheduling Program Execution with Timers Next page

© 1994-2005 The MathWorks, Inc.