Open asfilion opened 1 year ago
Thank you @asfilion, I've been able to reproduce this issue and we are working towards a fix.
Hi @asfilion
MATLAB Integration for Jupyter currently uses jupyter-server-proxy
to provide both MATLAB in browser and MATLAB Kernel functionalities. Unfortunately, jupyter-server-proxy
doesn't plug-in to the shutdown infrastructure provided by jupyter.
However, if you have access to the terminal from which JupyterLab is launched, you can use CTRL+C to shutdown both JupyterLab and MATLAB Integration.
There is a pending PR on jupyter-server-proxy
repository which provides more access to manage the integration. For more information, please look at https://github.com/jupyterhub/jupyter-server-proxy/pull/395
Hope this helps.
I can use the proxy with R2023a and Python 3.10 on Windows 11. When I shut down the MATLAB kernel and shut down jupyterlab, the MATLAB process and matlab-proxy-app.exe process are still active. If I reopen jupyterlab and use the proxy again, I'll get another MATLAB and proxy process. I don't see any way to shut these processes other than manually killing them in the task manager.