Xcode no longer includes the gcc compiler that MATLAB is looking for.
Simulink don't work on iMac
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!