Access to 'whos' in main workspace from a function

조회 수: 1 (최근 30일)
Stagleton
Stagleton 2011년 8월 9일
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