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

10 visualizaciones (últimos 30 días)
Eshan Wadhwa
Eshan Wadhwa el 26 de Jun. de 2017
Editada: dpb el 26 de Jun. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by