Simulink don't work on iMac
1 view (last 30 days)
Show older comments
I have iMac (version late 2009) and operating system is 10.9.4. Matlab is version 2012a Student. I have a problem because Simulink don't work. This is error message:
Making simulation target "untitled_sfun", ...
/Applications/MATLAB_R2012a_Student.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2012a_Student.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2012a_Student.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2012a_Student.app/stateflow/c/mex/include -I/Applications/MATLAB_R2012a_Student.app/stateflow/c/debugger/include untitled_sfun.c /Applications/MATLAB_R2012a_Student.app/bin/mex: line 305: gcc-4.2: command not found /Applications/MATLAB_R2012a_Student.app/bin/mex: line 1326: gcc-4.2: command not found
mex: compile of ' "untitled_sfun.c"' failed.
gmake: * [untitled_sfun.o] Error 1
I have reinstalled Xcode. It won't help.
0 Comments
Answers (1)
Ken Atwell
on 14 Aug 2014
Xcode no longer includes the gcc compiler that MATLAB is looking for.
0 Comments
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!