Conflict with 2 matlab R2014b windows running

I have 2 Matlab windows running and when I type quit in one, this happens:
Attempt to execute SCRIPT dbstack as a function: C:\Program Files\MATLAB\R2014a\toolbox\matlab\codetools\dbstack.m
Error in mls.internal.notSupportedError (line 7)
Error in quit (line 5)
And when I try to quit the other window, this happens:
Attempt to execute SCRIPT dbstack as a function: C:\Program Files\MATLAB\R2014b\toolbox\matlab\codetools\ja\dbstack.m
Error in mls.internal.notSupportedError (line 7)
Error in quit (line 5)
How do I fix this

답변 (2개)

Adam
Adam 2014년 11월 13일

0 개 추천

Click 'Set Path' on the main ribbon and just delete the folders you don't want and remember to save.

댓글 수: 1

When I do that, this occurs.
Error in pathtool (line 11)
error(javachk('swing', mfilename));

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

Kelly Kearney
Kelly Kearney 2014년 11월 13일

0 개 추천

That folder includes some of the core Matlab functionality; why are you trying to remove it? It's definitely not an external toolbox, so it wouldn't have been added to your path by accident... it's there as part of the base Matlab installation.

댓글 수: 3

Rose
Rose 2014년 11월 13일
I have 2014a and 2014b both open, I think there's a conflict. Either way, I can't do anything without those warnings showing up
Well, you've changed your original question, so I'm not quite sure what's going on now. It sounds as though you may have deleted some pretty essential builtins from your path (which I didn't actually know you could do). The script m-files of builtins like dbstack should only exist for documentation purposes and are otherwise shadowed, but it sounds as though your copies of Matlab are actually trying to run them instead of the proper builtin code.
I don't work with Windows so I can't really jelp with any further details. I'd recommend contacting Technical Support to untangle this.
Star Strider
Star Strider 2014년 11월 14일
FWIW, I can have R2014a and R2014b open at the same time in Windows 8.1 without a conflict.

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

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

질문:

2014년 11월 13일

댓글:

2014년 11월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by