editor is slow since 2021

15 visualizzazioni (ultimi 30 giorni)
JUNWEI CHEN
JUNWEI CHEN il 2 Giu 2023
Risposto: Vandit il 27 Giu 2023
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?

Risposte (1)

Vandit
Vandit il 27 Giu 2023
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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by