Info

This question is closed. Reopen it to edit or answer.

I have a XCode 5.1.1 and Matlab 2012a installed.

2 views (last 30 days)
Uma Syamkumar
Uma Syamkumar on 26 Aug 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Whenever I try to simulate a model cotaining an embedded Math function, I get the error, 'Making simulation target "kf_sfun", ...
/Applications/MATLAB_R2012a.app/bin/mex: line 305: gcc-4.2: command not found /Applications/MATLAB_R2012a.app/bin/mex: line 1326: gcc-4.2: command not found
mex: compile of ' "kf_sfun.c"' failed.
gmake: * [kf_sfun.o] Error 1 /Applications/MATLAB_R2012a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2012a.app/toolbox/stateflow/
  1 Comment
Kaustubha Govind
Kaustubha Govind on 26 Aug 2014
Could you try running "mex -setup" and configure your MEX compiler.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!