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

David
David 2018년 12월 7일
To update on this problem, entering the command "restoredefaultpath" temporarily fixed the problem. Closing and reopening Matlab, the error returns.
Is there a problem with the directory of the default path?
Walter Roberson
Walter Roberson 2018년 12월 7일
savepath after restoredefaultpath
David
David 2018년 12월 7일
That seems to have fixed the problem. Thanks Walter!
Victor v. Spaandonk
Victor v. Spaandonk 2021년 2월 8일
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 2021년 2월 8일
Reinstall.

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2018년 12월 7일

3 개 추천

In cases where restoredefaultpath provides relief, then afterwards
savepath
or else go into pathtool and click on save

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Errorbars에 대해 자세히 알아보기

태그

질문:

2018년 12월 7일

댓글:

2021년 2월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by