Peter Mao
2017-03-15 18:29:41 UTC
For those of you still using 2016b (or 2016a), here is a relatively
painless solution.
I usually have /usr/local/bin/matlab symlinked to the /Applications...
file. Following a suggestion from Eric Ludlam, I changed that file to the
following script which solves my crashing issues.
#!/bin/bash
ulimit -s 8512
/Applications/MATLAB_R2016b.app/bin/matlab $*
note that 8512 is the MAXIMUM value that ulimit -s can be set to. Higher
values cause failure. I don't know why.
Peter
painless solution.
I usually have /usr/local/bin/matlab symlinked to the /Applications...
file. Following a suggestion from Eric Ludlam, I changed that file to the
following script which solves my crashing issues.
#!/bin/bash
ulimit -s 8512
/Applications/MATLAB_R2016b.app/bin/matlab $*
note that 8512 is the MAXIMUM value that ulimit -s can be set to. Higher
values cause failure. I don't know why.
Peter