Plot does not pop up?

조회 수: 23 (최근 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 CenterFile Exchange에서 Introduction 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