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

10 vues (au cours des 30 derniers jours)
Eshan Wadhwa
Eshan Wadhwa le 26 Juin 2017
Modifié(e) : dpb le 26 Juin 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?

Réponse acceptée

dpb
dpb le 26 Juin 2017
Modifié(e) : dpb le 26 Juin 2017
See previous poster's dilemma resolved at <overwrote-clear-function?>

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by