Kill unresponsive fullscreen matlab on mac

35 次查看(过去 30 天)
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 个评论
D.
D. 2015-10-5
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?"

请先登录,再进行评论。

采纳的回答

Steven Lord
Steven Lord 2015-10-5
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 个评论
Walter Roberson
Walter Roberson 2017-3-10
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 2017-3-10
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).

请先登录,再进行评论。

更多回答(1 个)

Cole Schlavin
Cole Schlavin 2019-9-24
编辑:Cole Schlavin 2019-9-24
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by