Add the possibility to keep the MATLAB shared session even if the Python process exits

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
matlab, python
Ambito
tooling

Direzione di ricerca

Start with the shared-session cleanup behavior in src/matlab/engine/matlabengine.py at the linked line, then trace how the Python process currently stops MATLAB. Define the flag's lifecycle semantics for multiple Python scripts and verify that a build can reuse one shared session and close it explicitly at the end.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

As I understand, once the Python process which connects to the remote session exits, it will also stop the shared session in MATLAB (as seen here). I'm wondering if it would be possible to add a flag allowing us to reuse the shared session between multiple Python scripts?
To give a context, I generate multiple files with MATLAB during the build of a project, and starting/stopping MATLAB for each file is time consuming. The idea here would be to open a shared session at the beginning of the build, generate the files (when required) with MATLAB using this shared session, and close MATLAB at the end.

Lingua principale
Python
Stelle
97
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mathworks/matlab-engine-for-python

Tutte le issue di mathworks/matlab-engine-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.