MATLAB Answers

Show and hide variable of interest/ unimportant in workspace ?

29 views (last 30 days)
Tuong Nguyen Minh
Tuong Nguyen Minh on 31 May 2020
Answered: Dinesh Yadav on 3 Jun 2020
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


Sign in to comment.

Answers (1)

Dinesh Yadav
Dinesh Yadav on 3 Jun 2020
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.


Sign in to comment.





Community Treasure Hunt

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

Start Hunting!