Simulink don't work on iMac

1 次查看(过去 30 天)
Kristian Vepsäläinen
回答: Ken Atwell 2014-8-14
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.

回答(1 个)

Ken Atwell
Ken Atwell 2014-8-14

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by