Simulink don't work on iMac

8 views (last 30 days)
Kristian Vepsäläinen
Kristian Vepsäläinen on 14 Jul 2014
Answered: Ken Atwell on 14 Aug 2014
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.

Answers (1)

Ken Atwell
Ken Atwell on 14 Aug 2014

Categories

Find more on MATLAB Compiler 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!