Access to 'whos' in main workspace from a function

1 Ansicht (letzte 30 Tage)
Stagleton
Stagleton am 9 Aug. 2011
How do I access the main workspace from a fucntion? I am trying to count the different types of objects' classes that exist in the main workspace, but I do not know how to get into that scope from a function.
hope that makes sense

Akzeptierte Antwort

Desiree
Desiree am 9 Aug. 2011
Try with EVALIN function:
evalin('base','whos')

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by