Attach multiple terminals to a MATLAB workspace

I use the linux terminal for most of my work. What I'd like to be able to do is connect several instances of
matlab -nodesktop
to the same workspace in MATLAB. I'd like to be able to have access to the same data from several terminals.
Is this even possible?

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de Nov. de 2017

0 votos

No, that is not possible.

1 comentario

Walter Roberson
Walter Roberson el 17 de Nov. de 2017
You could have a MATLAB session that acted as a TCP server, and which was sent requests that it served.
If you were using MS Windows then it would also be possible to use MATLAB as an automation server; such servers share workspace. This involves ActiveX so it will not work on Linux or Mac.
On all OS, you could use the MATLAB Engine API; https://www.mathworks.com/help/matlab/matlab_external/introducing-matlab-engine.html. On Unix this uses pipes, which implies that the engine is not shared.

Iniciar sesión para comentar.

Categorías

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

Productos

Preguntada:

el 17 de Nov. de 2017

Comentada:

el 17 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by