You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used MATLAB on jupyterlab for two years. Recently, I moved to a new server, and I install jupyter-matlab-proxy on it. I have no trouble to run MATLAB through jupyter notebook but the behavior becomes terrible compared with previous versions.
How do I install and work on new server?
I create a new environment via: conda create -n "py39" python=3.9
In this environment, I install jupyterlab and jupyter-matlab-proxy via: pip install xxx
I already have MATLAB R2022b on this server
I run jupyterlab and use MATLAB kernel via: jupyter lab --no-browser --port=2345 --notebook-dir /xxx
What do I mean by 'worse features'?
If a piece of MATLAB code written in the notebook cell runs for over 5 minutes, I will get an error and MATLAB will be shut down. In the server I previously used, I did not have such error.
The results output to the screen in a strange way. For example, for a simple loop:
for m=1:3
pause(3)
m
end
I will expect to see numbers '1', '2', and '3' every 3 seconds. However, in the new server, all three numbers are output together after the loop finished.
When I open multiple notebooks with MATLAB kernel, all these notebooks will share the memory space. For example, if I define aa1=1 in notebook1 and then open a new notebook2, I can see variable aa1 by whos in notebook2. In my previous experience, notebooks will not share memory.
I installed matlab proxy two years ago on both my local computer and the old server. These features are not found in both of them. Are these problem due to the new server or matlab proxy? Could anyone help me?
Here attached pip list on the new server and my local computer.
Thank you for using the MATLAB Integration for Jupyter and for the detailed explanations in the issue!
Based on the shared local_MacOS.txt file and the description of the issues,
its evident that you have been using the MATLAB Kernel coming from the matlab-kernel package, and have only just started using the jupyter-matlab-proxy package that this repository ships on the "new server".
All the three issues listed above, have been a part of this package from the day it shipped in 2020.
Fortunately, we have been working behind the scenes on improvements to the package which should address all your concerns in the near future.
The issue related to cell time out has been captured in Cell timeout after 5 mins #77, and we are actively working on infrastructure to avoid this issue.
The support for streaming outputs is currently under development, and Support for streaming outputs #102 has been created for you to track its progress.
Summary
I have used MATLAB on jupyterlab for two years. Recently, I moved to a new server, and I install jupyter-matlab-proxy on it. I have no trouble to run MATLAB through jupyter notebook but the behavior becomes terrible compared with previous versions.
How do I install and work on new server?
What do I mean by 'worse features'?
for m=1:3
pause(3)
m
end
I will expect to see numbers '1', '2', and '3' every 3 seconds. However, in the new server, all three numbers are output together after the loop finished.
I installed matlab proxy two years ago on both my local computer and the old server. These features are not found in both of them. Are these problem due to the new server or matlab proxy? Could anyone help me?
Here attached pip list on the new server and my local computer.
local_MacOS.txt
new_server.txt
Browser(s) used
Chrome
Issue found in
MATLAB Kernel
Script output
No response
The text was updated successfully, but these errors were encountered: