Matlab process can not be stopped

38 次查看(过去 30 天)
Mate Tomasik
Mate Tomasik 2024-10-27,8:39
编辑: Torsten 2024-10-27,19:23
I'm using Matlab on Ubuntu 24.04.1. I have a function that uses cdfread. Many times it works, but sometimes when I run it (without changing anything), Matlab gets stuck in the process and says 'Busy'. So far its not a big deal, but when this happens I'm not able to stop the process (with Ctrl+C or the stop icon). Then I want to close it, I get asked if I want to force quit, I say 'Yes'. Nothing happens. Then I try to kill it from the terminal, but still nothing happenes, Matlab window is still up. The only solution that worked for me is restarting the computer, which is very frustrating.
Does anyone have a solution for force quiting matlab or a method for checking if the cdfread will ruin Matlab again?
  1 个评论
Torsten
Torsten 2024-10-27,9:26
编辑:Torsten 2024-10-27,19:23
You should contact MATLAB Technical Support:
Maybe the files you try to read are just too large to fit for your available RAM.

请先登录,再进行评论。

回答(1 个)

埃博拉酱
埃博拉酱 2024-10-27,9:30
MATLAB tends not to start just one process. You can look at the list of processes and try to end other MATLAB-related processes. MATLAB also relies on Java, and you can try to end Java-related processes. If there are other processes that are consuming CPU, disk, network, or a lot of memory during the freeze, you can also try to end them.

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by