Can I have multiple workspaces for one MATLAB instances?

6 vues (au cours des 30 derniers jours)
Felix Neko
Felix Neko le 28 Nov 2017
Modifié(e) : Felix Neko le 28 Nov 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?

Réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by