How to clear a variable if "clear" is itself a variable?

6 views (last 30 days)
I just started learning MATLAB Online and was assigning variables when I accidentally made "clear" as a variable. I have tried to clear the variables using several methods like "clear all", "clear clear", and "clearvars". But each is showing an error. How can I clear the variable?

Accepted Answer

dpb
dpb on 26 Jun 2017
Edited: dpb on 26 Jun 2017
See previous poster's dilemma resolved at <overwrote-clear-function?>

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!