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