Plot does not pop up?

31 views (last 30 days)
Tunc Kayikcioglu
Tunc Kayikcioglu on 2 Mar 2015
Edited: Walter Roberson on 11 Oct 2016
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 Comments
Tunc Kayikcioglu
Tunc Kayikcioglu on 4 Mar 2015
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 on 10 Oct 2016
Edited: Bora Ön on 11 Oct 2016
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

Sign in to comment.

Answers (2)

Kai-Uwe Storek
Kai-Uwe Storek on 26 Jul 2016
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 Comment
Hao Cui
Hao Cui on 3 Aug 2016
Same problem in 2016a on latest Arch Linux. It does works with software OpenGL enabled.

Sign in to comment.


CJ
CJ on 15 Jun 2016
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 Comments
CJ
CJ on 1 Jul 2016
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 on 1 Jul 2016
Edited: Walter Roberson on 1 Jul 2016
CJ, which graphics card do you have installed, and which graphics driver version do you have installed?

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing 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!