Filter löschen
Filter löschen

Kill unresponsive fullscreen matlab on mac

13 Ansichten (letzte 30 Tage)
D.
D. am 5 Okt. 2015
Bearbeitet: Cole Schlavin am 24 Sep. 2019
Is there a way to force kill an unresponsive matlab? Frequently, while executing a full-screen script, it just freezes. None of the typical mac/matlab key-combinations to terminate processes work (or anything else for that matter). Basically, the computer (a macbook) becomes completely unresponsive, it is impossible to switch to other windows or open applications, or to access the terminal, or to do anything for that matter. The only option is to force-shutdown and start over, which is extremely undesirable.
Is there a way to forcefully kill a non-responsive matlab without having to kill the entire computer?
  2 Kommentare
John D'Errico
John D'Errico am 5 Okt. 2015
So don't go full screen. WTP?
D.
D. am 5 Okt. 2015
That is not useful at all. Please refrain from answering without bothering to understand the situation. If you need a clarification, ask for it, but this kind of "answers" do not help. You might as well have said "Well, don't use a computer, WTP?"

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Steven Lord
Steven Lord am 5 Okt. 2015
From the fact that you mentioned "displays stimuli" in one of your comments I'm guessing you're using Psychophysics Toolbox. Is that correct? I believe that third party toolbox does some special screen manipulation above and beyond what MATLAB does. If you are using this toolbox try this entry in their FAQ or try posting in their forum a description of the problem and ask if this is a known issue with a solution.
  5 Kommentare
Walter Roberson
Walter Roberson am 10 Mär. 2017
Not a cure but an alleviation:
If you go into System Preferences -> Sharing, you can enable "remote login". Then, when you get a freeze, try to ssh in from another device. If the system is completely hung you will not be able to do so. If it is just the process managing the display that is hung, then you can use your ssh session to issue shell "kill" commands to zap the process.
I have a remote terminal program set up on my Android phone for this purpose; the Android program I use for this is "JuiceSSH"
Walter Roberson
Walter Roberson am 10 Mär. 2017
Side note: between late December 2016 and late January 2017, El Capitan could completely freeze for several minutes at a time in circumstances related to use of the GPU for graphics (happened for all three gpu manufacturers).

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Cole Schlavin
Cole Schlavin am 24 Sep. 2019
Bearbeitet: Cole Schlavin am 24 Sep. 2019
Hey, I had the same issue on my mac laptop. I was able to fix it by sliding up with three fingers to see all open windows, and clicking & dragging matlab to the right of the open, full-screen windows in the top bar. It should automatically open matlab into full screen.
Let me know if it works for you.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by