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

 Risposta accettata

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

Più risposte (0)

Prodotti

Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by