On Linux, MATLAB editor and command window freeze when a help window is closed
古いコメントを表示
I'm using Ubuntu 18.04 and MATLAB r2018a. When I pull up a help window using for example `doc magic` and then close this window with the 'X' button in the GUI, the whole MATLAB GUI freezes. It appears that I am still able to type in them, as evidenced by some of my typing being present upon restarting MATLAB in my *.m file. I am not sure how to debug this further, as it appears to purely be a GUI problem. In the terminal which I used to start MATLAB, there is no additional output.
The only output to the terminal I have appears on startup:
Gtk-Message: 18:05:40.313: Failed to load module "canberra-gtk-module"
2 件のコメント
Shane Snover
2018 年 9 月 3 日
Aidan Farrell
2018 年 9 月 26 日
Workaround that worked for me: com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
If you need to un-freeze now, find the Linux process called "jxbrowser-chromium", and (If your problem is the same as mine), kill the non-defunct one.
回答 (3 件)
Akshay Khadse
2018 年 9 月 10 日
0 投票
MATLAB R2018a is not yet supported on Ubuntu 18.04.
Please refer the System Requirements page to know more about the currently supported Linux distributions.
Rubem Pacelli
2019 年 7 月 17 日
0 投票
I have same problems here (same matlab version too). I don't know how fix it.
1 件のコメント
Rubem Pacelli
2019 年 7 月 17 日
編集済み: Rubem Pacelli
2019 年 7 月 17 日
Try type this code:
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
Hugo Diaz
2019 年 11 月 28 日
This works for me, Ubuntu 18. HTMLRENDERER, also works but it looks horrible.
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLPANEL');
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!