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

6 Ansichten (letzte 30 Tage)
Eshan Wadhwa
Eshan Wadhwa am 26 Jun. 2017
Bearbeitet: dpb am 26 Jun. 2017
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT Files finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by