Clean variables of worskpace from GUIDE
Show older comments
Hi Everyone!
I have a problem with a code in GUIDE. I want clean some variables of workspace that previously I saved from GUIDE. To save variables in workspace, I've used this code:
if true
% assignin('base', 'VHA', VHA);
end
And to obtain variables from workspace i use evalin
if true
% evalin('base','VHA');
end
I know that 'clear' doesn't work in GUIDE. So ¿which should to use? I don't want clean all variables.
1 Comment
Stephen23
on 16 Aug 2021
Messing around with other workspaces is a design flaw.
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!