Why is MATLAB Editor slow to respond in MATLAB 7.8 (R2009a) on a Linux (Ubuntu 8.10) System?
14 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Mar 2010
Edited: MathWorks Support Team
on 22 Mar 2021
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.
Accepted Answer
MathWorks Support Team
on 22 Mar 2021
Edited: MathWorks Support Team
on 22 Mar 2021
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 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!