Replicate some ability from built-in "functions" routine
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I recently found the function "functions" which will give some nice data about a give function handle which is apparently hidden under usual circumstances. In particular, you can access the parameters passed when the function was created and the workspace environment.
I would very much like to have a version of this which will work if MATLAB changes the function "functions" later on, at least to access the workspace. Note that in accordance with the warning in the documentation, I would not depend on such a function in regular programming!
Thanks in advance folks.
Antworten (1)
Wayne King
am 6 Dez. 2012
Bearbeitet: Wayne King
am 6 Dez. 2012
Is there something you're using from functions() that
>>which poly
or
>>which -all poly
doesn't give?
1 Kommentar
Walter Roberson
am 6 Dez. 2012
"which" does not give access to the workspace for nested functions.
Diese Frage ist geschlossen.
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!