help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List functions defined from within current scope


From: Juan Pablo Carbajal
Subject: Re: List functions defined from within current scope
Date: Mon, 18 Mar 2013 11:55:43 +0100

On Mon, Mar 18, 2013 at 11:31 AM, PetrSt <address@hidden> wrote:
> I suppose all user-defined functions should be present in the current
> workspace as function handles. If so, then "whos" returns structure with one
> of the fields "class". Comparing class field to string 'function_handle'
> should return the logical index matrix. It could look some like this:
> wrks = whos;
> mask = strcmp({wrks.class},'function_handle');
> fun_names = wrks(mask).name
>
>
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/List-functions-defined-from-within-current-scope-tp4650574p4650914.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

That doesn't seem to work here.
Do you have a working example?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]