Can I have multiple workspaces for one MATLAB instances?
6 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!