Plot does not pop up?

25 ビュー (過去 30 日間)
Tunc Kayikcioglu
Tunc Kayikcioglu 2015 年 3 月 2 日
編集済み: Walter Roberson 2016 年 10 月 11 日
Hi all,
I am having a weird problem with Matlab that I have never experienced before, and have no idea what the underlying reason could be because it does not generate any error at all.
Basically I try "plot(1,2)" and nothing happens, no figure pops up. However, the command line is kept busy, as if the code enters into an infinite loop. I am using 64 bit Linux and 2014b. I would really appreciate if somebody could direct me towards the solution or give an idea about what the problem could be.
Thanks,
  17 件のコメント
Tunc Kayikcioglu
Tunc Kayikcioglu 2015 年 3 月 4 日
1. Only way out is to kill the process.
2. Yes, no problem in generating empty figure windows.
3. The MATLAB process consumes about 80% CPU power and about 400 MB RAM for about 20 seconds. No significant CPU usage afterwards.
4. I surely tried it. I actually tried wiping the OS and re-installing, in case something with the graphical tools got accidentally messed up.
5. Yes. Everything started all of a sudden. The same computer used to work. Probably because of an update?
6. I have already tried a re-install. I will try contacting them.
Thanks for your effort
Bora Ön
Bora Ön 2016 年 10 月 10 日
編集済み: Bora Ön 2016 年 10 月 11 日
I had the same problem. However, I've discovered that xorg driver was not properly installed (you can check it by typing "inxi -Fxz").
I re-installed "xserver-xorg-video-intel" (in my case the graphics card is intel) and reconfigured xserver-xorg, and now matlab works properly without softwareopengl option.( link of the solution )
Hope this helps you,
Bora

サインインしてコメントする。

回答 (2 件)

Kai-Uwe Storek
Kai-Uwe Storek 2016 年 7 月 26 日
Same problem here after last upgrade to Linux 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux.
In addition: "opengl info" (even with -nosoftwareopengl flag) ended with a timeout exception.
Workaround - start matlab with -softwareopengl option.
  1 件のコメント
Hao Cui
Hao Cui 2016 年 8 月 3 日
Same problem in 2016a on latest Arch Linux. It does works with software OpenGL enabled.

サインインしてコメントする。


CJ
CJ 2016 年 6 月 15 日
I recently had the very same problem. It started after an automatic update on Fedora 23. I may open empty figures but if I (for example) write
peaks(20)
on the command line MATLAB enters "Busy" mode and it is impossible to stop the operation.
  3 件のコメント
CJ
CJ 2016 年 7 月 1 日
The problem is reproducible. I reinstalled Fedora (config-4.2.3-300.fc23.x86_64) and when I upgraded to config-4.5.7-200.fc23.x86_64 MATLAB crashes when I try the most basic plot commands.
I did nothing else (except install Google chrome etc.) before I downloaded MATLAB. I.e. I did not install the supported compilers that the installation wizard was prompting for.
MATLAB works fine in every other way.
Walter Roberson
Walter Roberson 2016 年 7 月 1 日
編集済み: Walter Roberson 2016 年 7 月 1 日
CJ, which graphics card do you have installed, and which graphics driver version do you have installed?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by