home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / GENERAL.DI$ / WHICH.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  1.0 KB  |  22 lines

  1. %WHICH    Locate functions and files.
  2. %    WHICH FCN displays the full pathname of the specified function.
  3. %    The function can be an M-file, MEX-file, SIMULINK Graphical function,
  4. %    or built in.  Built in functions and SIMULINK functions display a 
  5. %    message indicating that they are built in or part of SIMULINK.
  6. %
  7. %    For example, "which inv" reveals that INV is a built in function and
  8. %    "which pinv" indicates that PINV is in directory toolbox/matlab/linalg.
  9. %    On the other hand "which inverse" probably says "inverse cannot be
  10. %    found" because there is no file "inverse.m" on the default MATLABPATH.
  11. %    Contrast this with "lookfor inverse" which takes longer to run, but
  12. %    which finds several matches to the keyword "inverse" in its search
  13. %    through all the HELP entries.  (If "inverse.m" does exist in the 
  14. %    current directory, or in some private directory that has been added
  15. %    to MATLABPATH, "which inverse" would find it.)
  16. %
  17. %    See also DIR, HELP, WHO, WHAT, EXIST, LOOKFOR.
  18.  
  19. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  20.  
  21. %    Built-in function.
  22.