MATLAB: What is the difference between clear and clearvars
clear
What is the difference between clear and clearvars?
Best Answer
In those simplest forms I don't think there is any difference. Both have extended arguments though that make them different, especially clear which obviously also extends to clearing cached functions, mex functions and other stuff.
Best Answer