After upgrading to Mountain Lion over the break, Matlab starts, but can not compile functions in Simulink. The following is Matlab's official compatibility policy:
http://www.mathworks.com/support/solutions/en/data/1-IXBVKD/index.html?solution=1-IXBVKD
Matlab is not guaranteed to work with Mountain Lion, except r2012b, which is not available as a student version. There is no student version available that they guarantee to work with Mountain Lion.
They have FAQ's which supposedly help some users:
http://www.mathworks.com/matlabcentral/answers/56413-help-on-cpp-mex-file-compile-failed
http://www.mathworks.com/support/solutions/en/data/1-FR6LXJ/
Personally, I have reinstalled Mountain Lion, Matlab r2012a, and experimented with both Xquartz and Xcode 4.5.2 without success at Simulink compiling.
Has anyone else run across issues with Matlab on Mountain Lion and found a solution?
Hi
ReplyDeleteI followed:
http://www.mathworks.com/support/solutions/en/data/1-FR6LXJ/
for the Lion 10.7 and it worked. They have patch for 10.8 as well. If you have the same versions they are mentioning, make sure you follow the exact steps. They have one old patch at the end which might work for you if nothing else works...
It was very frustrating for me as well ! Good luck