How can I improve the speed of keyboard response in Live Editor?

13 views (last 30 days)
The keyboard response is too slow in Live Editor than M-file editing mode. How can I improve the speed of keyboard response in Live Editor?
Mikhail on 20 Sep 2019
This might help:

Sign in to comment.

Answers (2)

Scott Smith
Scott Smith on 15 Sep 2019
Edited: Scott Smith on 16 Sep 2019
Hi, bit of a simplistic answer here but a while back I contacted support about this, when I too was seeing slow response in the Live Editor Matlab R2019a. Very annoying. However, I'm using a Surface Book 2, (i9, 256GB SSD, dedicated graphics card but forget the specifics) and the best advice I got was increasing the Java Heap Memory in HOME (Tab)> PREFERENCES (in the Enviroment section of toolbar)>MATLAB>GENERAL>JAVA HEAP MEMORY. I cranked mine up to an arbitrary 3677MB and that reduced the lag enough to be funtional. There is a bit, but it's not as horrible. the max is something like 4077MB (for me) and it has almost no lag.
Anyway I don't know the drawbacks of doing this, but it makes my life easier and I hope it helps yours too.

Chris Jennings
Chris Jennings on 15 Sep 2019
Edited: Chris Jennings on 15 Sep 2019
I upgraded my Surface Book 1 to a Surface Book 2 (i7, 16GB RAM, GTX1060) partly to resolve this issue. It made some difference but still not ideal. I just maxed my Java HEAP out to 4077MB and it's definitely more responsive.
So ... many thanks for your solution Scott !


Find more on 기본 설정 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!