After exiting MATLAB, it doesn't truly terminate in the Task Manager.

54 ビュー (過去 30 日間)
Heran Wang
Heran Wang 2025 年 7 月 9 日
コメント済み: Walter Roberson 2025 年 12 月 2 日 21:33
After exiting MATLAB, it doesn't truly terminate in the Task Manager.
Even after closing the MATLAB software (including using the exit command), the memory usage remains the same as when MATLAB was running, and the related processes don't exit.
When MATLAB is reopened, new related tasks are created.
Consequently, after repeatedly opening and closing the software several times, the memory becomes completely full, causing the computer to malfunction.
  18 件のコメント
Janis
Janis 2025 年 12 月 2 日 12:17
編集済み: Janis 2025 年 12 月 2 日 12:18
I tested a little further. Correction: It has nothing to do directly with -batch -r command line callls. Happens also with open Matlab UI.
At least: Matlab 2025a and b on Windows Server 2025 generally has a problem quitting after having run our simulation.
I open Matlab UI. I run simulation. It finishes as it should. I execute quit(0, 'force') or without force -> UI closes but idling matlab.exe processes remain open and occupy RAM.
Never happened in years with simulation in 2019b.
Walter Roberson
Walter Roberson 2025 年 12 月 2 日 21:33
Datapoint:
I installed Windows Server 2025 Standard Evaluation inside a virtual machine, and installed MATLAB R2025b inside of it.
There was a notable delay in cleaning up the MATLAB process after quitting, but the most old processes I ever got was 2 (with one of them promptly ending.) One of the processes did seem a little stuck at first, but went away when I waited longer.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by