On Fri, Jul 27, 2012 at 10:18 PM, fork
<address@hidden> wrote:
Jordi Gutiérrez Hermoso <jordigh <at> octave.org> writes:
>
> On 27 July 2012 16:08, fork <forkandwait <at> gmail.com> wrote:
> > Is there a command to show the signature of a function in an m-file?
>
> Functions don't have signatures. sin(1,2,3) is a valid function call
> as far as the interpreter is concerned. It's up to the sin() function
> to decide if it should throw an error or not for being called with
> more than one argument.
>
> So, no.
Is the text of the function stored somewhere that a function could get it?
Maybe you're looking for "print_usage" function?
Michael.