editor is slow since 2021

조회 수: 15 (최근 30일)
JUNWEI CHEN
JUNWEI CHEN 2023년 6월 2일
답변: Vandit 2023년 6월 27일
There are more functions in the editor since 2022a(or 2021b), but it reponses much slower than 2021a, especially when the matlab is opened via X11 forwarding through SSH.
How to accelerate it? And does the newest version improve?

답변 (1개)

Vandit
Vandit 2023년 6월 27일
Hi,
If you are experiencing slower response times when using MATLAB 2021b or above via X11 forwarding through SSH, there are few potential suggestions you can try to improve performance :
  • Enable compression for X11 forwarding by adding the "-C" flag using the code below when establishing the SSH connection to compress the data before transmitting it over the network, which can help improve performance in certain scenarios.
ssh -XC user@remote_host
  • You can disable X11 authentication by adding the "-Y" flag when establishing the SSH connection to reduce the overhead associated with X11 authentication if security is not a concern in your environment using the below command :
ssh -XY user@remote_host
  • MATLAB's editor includes various graphical features that can consume resources and slow down performance. Disabling these features can help improve the responsiveness of the editor.
  • You can try increasing the X11 forwarding speed by adjusting the compression level or using alternative compression methods. You can specify the compression method by using the '-o' flag when establishing the SSH connection using the below command :
ssh -XC -o Compression=<method> user@remote_host
You can also try increasing the CompressionLevel option to improve compression efficiency:
ssh -XC -o CompressionLevel=<level> user@remote_host
Hope this helps.
Thankyou

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by