Undefined variable "matlab"

19 Ansichten (letzte 30 Tage)
David
David am 7 Dez. 2018
Kommentiert: Walter Roberson am 8 Feb. 2021
Hi,
I recently installed MATLAB 2018b onto a new Windows 10 machine. Running an old .m file, I now see an error when calling the "errorbar" function:
"
Undefined variable "matlab" or class "matlab.graphics.chart.internal.checkpvpairs".
Error in errorbar>parseargs (line 255)
msg = matlab.graphics.chart.internal.checkpvpairs(pvpairs,linestyleerror);
Error in errorbar (line 61)
[pvpairs,args,nargs,msg,orientation] = parseargs(args);
"
I can't find a similar error occuring elsewhere online. Has anyone seen this error before?
Thanks,
David
  5 Kommentare
Victor v. Spaandonk
Victor v. Spaandonk am 8 Feb. 2021
I'm having the same problem, but restoring matlab path doesn't fix it.
@Walter Robersonshould I make a seperate issue?
Walter Roberson
Walter Roberson am 8 Feb. 2021
Reinstall.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Dez. 2018
In cases where restoredefaultpath provides relief, then afterwards
savepath
or else go into pathtool and click on save

Weitere Antworten (0)

Kategorien

Mehr zu Errorbars finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by