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 件)
Ken Atwell
2014 年 8 月 14 日
Xcode no longer includes the gcc compiler that MATLAB is looking for.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!