Let's say you are some new programmer and you do something like...
%...la da da
%...programming away
if such && such
clear = 1;
else
clear = 0;
end
or in some other way, you assign the variable clear
a value.
Is there some way to "clear" clear
?
clearvars
doesn't work. Clicking the workspace variable and manually clicking delete does work, but I think it's cheating.