Why is MATLABWindow.exe spawned when launching MATLAB in batch mode?
Show older comments
When starting MATLAB 2026a in batch mode
matlab.exe -wait -batch "run(some_script.m); exit"
it spawns MATLABWindow.exe.
If the script called uses the parallel toolbox, MATLAB seemingly spawns 3 MATLABWindow.exe instances per worker.
Why is this happening and, most importantly, can it be prevented?
According to the documentation starting MATLAB with the flag '-batch'
- Starts without the desktop
- Does not display the splash screen
Why would we need MATLABWindow.exe in this situation?
1 Comment
dpb
2 minutes ago
Try adding "-noFigureWindows" to the startup command...
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!