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

Respuestas (2)

Adam
Adam el 13 de Nov. de 2014

0 votos

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

1 comentario

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

Iniciar sesión para comentar.

Kelly Kearney
Kelly Kearney el 13 de Nov. de 2014

0 votos

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 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 13 de Nov. de 2014

Comentada:

el 14 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by