MATLAB Answers

Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#">ここ</a>」をクリックしてください。

1

Typing in the live editor is slow on Linux

Craig Watson さんによって質問されました 2018 年 11 月 15 日
最新アクティビティ Kevin Cutler さんによって 編集されました 2019 年 6 月 5 日 19:09
I just installed MATLAB R2018b on Linux Mint 19. I am used to using it on Windows, where the Live Editor works great.
On Linux however, there is a very annoying latency when typing. Whether it's in a text area or code block, there is maybe ~0.25s between the time I type and when something happens on screen. I tried disabling the Datatips, which didn't help.
What's going on, and is there any way to fix this? I am running on a fast computer, so performance should not be an issue.

  4 件のコメント

Mika Mäki 2019 年 3 月 11 日
Confirmed on two computers running Kubuntu 18.04 with freshly installed MATLAB R2018b. As a result of the typing latency, the live editor is nearly unusable. This is especially annoying since our university currently has a course where all the answers must be submitted as live editor files (.mlx), and no other file formats are allowed.
The latency has been confirmed on the following hardware
  • Core i7-930, GTX 760, 24 GB RAM
  • Core i7-3517U, integrated graphics, 8 GB RAM
Edit: the bug is still present in R2019a and affects Kubuntu 19.04 as well.
Mikhail
2019 年 4 月 2 日
This is a not really helpfull comment, but "me too".
There are two painful points in MATLAB on Linux: the Help Browser, which is slow to the point of inusability (I prefer online Help) and the Live Editor (to the point that I avoid using it by all means).
Kevin Cutler 2019 年 6 月 5 日 19:08
Same, I hope this is solved soon. I'm on 18.04 running R2019a, and it is terribly slow.

サインイン to comment.

製品


リリース

R2018b

3 件の回答

回答者: Viktor Marinkov 2019 年 5 月 3 日

I also confirm very laggy behaviour on Matlab 2018b and Ubuntu 19.04. Has there been any workaround?

  0 件のコメント

サインイン to comment.


回答者: Mikhail
2019 年 5 月 20 日

No way!
MathWorks have fixed this in R2019a Update 2.
Not only Live Editor now works fine, but also Help Browser runs very smooth.

  4 件のコメント

Mikhail
2019 年 5 月 21 日
I was able to narrow it down to this specific kernel update: upgraded linux (5.0.13.arch1-1 -> 5.1.2.arch1-1).
This is really strange that kernel has to do with it. But I'm sure this is really it, since I've reproduced the problem (or rather disappearance of the problem) with this specific atomic kernel package upgrade.
I'm running Arch Linux, but I'm sure you can try the 5.1 kernel with Ubuntu and see how it works.
Josh G.
2019 年 5 月 21 日
Can you post your kernel configuration for both kernels? It would be useful to try to narrow down whether this was fixed by a change in configuration or some difference between the 5.0 and 5.1 kernels. I'm running Fedora 30 with Linux 5.0.16 and am still seeing lag in the live editor on R2019a update 2 (I can type six letters before one shows up on screen).
Mikhail
2019 年 5 月 21 日
You can find configurations for both kernels here: https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/linux
It will be hard to pin point which configuration option might have caused this. There were a lot of changes: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=d706a3e8a2deddc677303b029c5df81378948f75

サインイン to comment.


回答者: Antonio Sala 2019 年 5 月 20 日

Well, I just installed Update 2 and the problem seems still present on my Ubuntu 19.04 machine. Are you, Mikhail, on Linux?

  0 件のコメント

サインイン to comment.



Translated by