Script m-files versus functions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Script m-files versus functions

Dirk Laurie
If an m-file is a script, not a function, I observe the following:

   'help'                 sees the m-file and displays the help lines
   'which' and 'type'     do not see the m-file

Is this a bug?

Dirk