Conflict with 2 matlab R2014b windows running
Show older comments
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
Answers (2)
Kelly Kearney
on 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 Comments
Rose
on 13 Nov 2014
Kelly Kearney
on 14 Nov 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
on 14 Nov 2014
FWIW, I can have R2014a and R2014b open at the same time in Windows 8.1 without a conflict.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!