matlab stuck/frozen during command line startup on macOS
Show older comments
I have installed 2026a on macOS 26. I ran it once in graphical mode as an administrator. A few times a pop up asked for permisions to files etc. and they were granted. Everything worked.
Next, I need to run it as an ordinary user logged in via ssh, no graphics, only terminal. I do
/Applications/MATLAB_R2026a.app/bin/matlab -nosplash -nodesktop -nodisplay -nojvm -c [my license here]
and nothing happens. The process does not exit, there is no output. Some files in my home folder under
~/Library/Application\ Support/MathWorks
have been touched, so the process did something. It also shows in the results of
top
as running, consistently using the CPU, and status "stuck". Crtl+C doesn't work.
The same way to use Matlab worked always with older Matlab and macOS versions and identical overall setup of the machine.
Note that I don't want to (and cannot) use any graphical itnerface. There are some other posts here where users experience hanging when the graphical interface is started, and the solutions are either to add Matlab to the Accessibility permisions (which I did anyway), or start it in command line mode, which is precisely where I'm stuck.
Is there some additional information one can get to figure out what the process is stuck on?
1 Comment
Torsten
on 10 Jun 2026
Contact support:
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!