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

Réponses (2)

Adam
Adam le 13 Nov 2014

0 votes

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

1 commentaire

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

Connectez-vous pour commenter.

Kelly Kearney
Kelly Kearney le 13 Nov 2014

0 votes

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 commentaires

Rose
Rose le 13 Nov 2014
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 le 14 Nov 2014
FWIW, I can have R2014a and R2014b open at the same time in Windows 8.1 without a conflict.

Connectez-vous pour commenter.

Catégories

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

Tags

Aucun tag saisi pour le moment.

Question posée :

le 13 Nov 2014

Commenté :

le 14 Nov 2014

Community Treasure Hunt

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

Start Hunting!

Translated by