constantly receiving an error undefined function or variable z

No matter what I type into MATLAB, I receive an error:
Undefined function or variable z
This error initially occurred after I tried to define:
>> z=2
(z did not appear in my workspace)
Now it occurs even when I try things that do not include a 'z':
>> 2*2
>> x=2
>> restoredefaultcache
>> rehash toolboxcache

 Réponse acceptée

Restart MATLAB to clear any association with the function or variable 'z'.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by