MATLAB Answers

Open new files in existing session

11 views (last 30 days)
Rafael Kübler
Rafael Kübler on 12 May 2017
Commented: Jan on 16 May 2017
Hello,
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

Rik
Rik 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.

Answers (2)

ES
ES on 12 May 2017
Edited: Stephen Cobeldick on 12 May 2017

  1 Comment

Rafael Kübler
Rafael Kübler on 15 May 2017
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
Jan on 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.

  2 Comments

Rafael Kübler
Rafael Kübler on 15 May 2017
Yes. this would be possilbe but is a quite unconvinient work around.
Jan
Jan 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.

Tags


Translated by