MATLAB Answers


Open new files in existing session

Asked by Rafael Kübler on 12 May 2017
Latest activity Commented on by Jan
on 16 May 2017
when i have an already opened matlab session and i'm trying to open a new script from the windows explorer i receive the License Manager Error -9, because it tries to open a new matlab session. But it gets in trouble, because i'm allowed to only run one session at a time. How can i say matlab to run the new scipt in the existing session and not open a new one?
Thank you for your help.

  1 Comment

on 12 May 2017
This question is specific for operation system, as is the solution. Could you confirm you are indeed running Windows? And which one?

Sign in to comment.


2 Answers

Answer by ES
on 12 May 2017
Edited by Stephen Cobeldick on 12 May 2017

  1 Comment

I have tried both solutions but none worked for me. I also tried the MATLAB File Association Fix by Patrik Forssén, which doesn't work either.
Have you any other solutions?

Sign in to comment.

Jan 님의 답변 15 May 2017

This does not solve your problem, but the work around is trivial:
Do not use the Windows Explorer to start M-files, but start them from inside Matlab. Matlab is designed to open and start M-files.


Yes. this would be possilbe but is a quite unconvinient work around.
on 16 May 2017
Really? But this is the nature of Matlab. For me opening M-files throught the explorer of the OS would be an inconvenient indirection. There is a file browser insider Matlab's GUI, but I prefer dedicated GUIs.

Sign in to comment.