Plot does not pop up?

23 vues (au cours des 30 derniers jours)
Tunc Kayikcioglu
Tunc Kayikcioglu le 2 Mar 2015
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 commentaires
Tunc Kayikcioglu
Tunc Kayikcioglu le 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 le 10 Oct 2016
Modifié(e) : Bora Ön le 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

Connectez-vous pour commenter.

Réponses (2)

Kai-Uwe Storek
Kai-Uwe Storek le 26 Juil 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 commentaire
Hao Cui
Hao Cui le 3 Août 2016
Same problem in 2016a on latest Arch Linux. It does works with software OpenGL enabled.

Connectez-vous pour commenter.


CJ
CJ le 15 Juin 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 commentaires
CJ
CJ le 1 Juil 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 le 1 Juil 2016
Modifié(e) : Walter Roberson le 1 Juil 2016
CJ, which graphics card do you have installed, and which graphics driver version do you have installed?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by