Why is MATLAB Editor slow to respond in MATLAB 7.8 (R2009a) on a Linux (Ubuntu 8.10) System?

16 次查看(过去 30 天)
The MATLAB Editor is slow during typing and scrolling for files of length on the order of hundreds of lines. Extremely short files (just a few lines) do not have this problem. The characters of the file open in the MATLAB Editor get mangled when I use the scrollbar.
The MATLAB Command Window is also slow when typing and scrolling.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-3-22
When scrolling in the MATLAB Desktop (e.g., in the Editor or Command Window), the graphics and characters become garbled with painting errors.
This is due to a misconfiguration of the X server with respect to the graphics card. A workaround is to include the attached java.opts file in your MATLAB startup directory.
The Java.opts file must contain the following tag:
-Dsun.java2d.pmoffscreen=false

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by