Can I have multiple workspaces for one MATLAB instances?

7 visualizaciones (últimos 30 días)
Felix Neko
Felix Neko el 28 de Nov. de 2017
Editada: Felix Neko el 28 de Nov. de 2017
In my Python application I often execute MATLAB code from Python via MATLAB Engine API for Python.
I have some Python objects that execute some MATLAB scripts in their constructors and some MATLAB scripts in their methods. That modifies the underlying MATLAB workspace and helps me to save object state between two calls.
But it's a bit too hard for me to give a dedicated MATLAB instance to each such object (because MATLAB instance eats about 500 Gb of memory). I want to have only one MATLAB instance and somehow switch between different workspaces in it.
Can it be somehow done?

Respuestas (0)

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by