What is the difference between clear and clearvars?

 Accepted Answer

Adam
Adam on 3 Mar 2017
Edited: Adam on 3 Mar 2017
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.

More Answers (0)

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Tags

Asked:

on 3 Mar 2017

Edited:

on 3 Mar 2017

Community Treasure Hunt

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

Start Hunting!