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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss