Why do I get an error when starting a shared MATLAB session with a certain name after a system crash in MATLAB R2018b?

5 visualizaciones (últimos 30 días)
When trying to share a MATLAB session with a certain name (I already was using before) I get the below error now, after I had a system crash and had to reboot the machine.
>> matlab.engine.shareEngine('Engine_1')
Error using matlab.engine.shareEngine (line 41)
MATLAB session 'Engine_1' already exists. Current MATLAB session is now shared with default name 'MATLAB_3192'.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 10 de Oct. de 2019
Editada: MathWorks Support Team el 10 de Oct. de 2019
There is a temporary file created and stored in the system's temporary directory
>> tempdir
with the defined (or default) name while sharing the session, e.g. Engine_1 for the above example.
This file is usually automatically deleted after the session is finished (and should not be removed manually in any way).
But in your case this file probably was not deleted accordingly due to the system crash. Please get it deleted manually and try to share the MATLAB session again with this name.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by