Show and hide variable of interest/ unimportant in workspace ?

조회 수: 47 (최근 30일)
Tuong Nguyen Minh
Tuong Nguyen Minh 2020년 5월 31일
답변: Dinesh Yadav 2020년 6월 3일
Dear Matlab users,
I write a program with lots of variable in Matlab workspace and I only interest in a few of them for debugging purpose.
I am trying to find a way to hide some unimportant variable whilst showing the important one
Is there any way to do this ?
Thank you

답변 (1개)

Dinesh Yadav
Dinesh Yadav 2020년 6월 3일
Hi Tuong
Kindly refer to the following threads regarding the same
The idea here is to break your program into multiple functions and keep only what variables you need as output of those functions. This will minimize all unnecessary variables into your main worksapace.
Hope it Helps.


Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기





Community Treasure Hunt

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

Start Hunting!

Translated by