Closed
Description
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?
- 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.
local_MacOS.txt
new_server.txt
Browser(s) used
Chrome
Issue found in
MATLAB Kernel
Script output
No response