To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I am using Embedded Coder to turn Simulink models into C. It appears, though, that Embedded Coder uses Matlab Coder on the Matlab Function blocks. This would be fine, except Matlab Coder makes temporary arrays (e.g. arrays inside of sub-functions) into globals. Is there any way to prevent this?