Access to 'whos' in main workspace from a function

1 次查看(过去 30 天)
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

采纳的回答

Desiree
Desiree 2011-8-9
Try with EVALIN function:
evalin('base','whos')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by