Skip to content

Worse Features in Latest Version #101

Closed
@fcyang58

Description

@fcyang58

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?

  1. I create a new environment via: conda create -n "py39" python=3.9
  2. In this environment, I install jupyterlab and jupyter-matlab-proxy via: pip install xxx
  3. I already have MATLAB R2022b on this server
  4. I run jupyterlab and use MATLAB kernel via: jupyter lab --no-browser --port=2345 --notebook-dir /xxx

What do I mean by 'worse features'?

  1. 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.
  2. 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.
  3. 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

Metadata

Metadata

Assignees

Labels

answeredIssue has been answeredquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions