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

オープン
#52 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
matlab, python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
97
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mathworks/matlab-engine-for-python のほかの issue

mathworks/matlab-engine-for-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。