I have a XCode 5.1.1 and Matlab 2012a installed.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
on 26 Aug 2014
Could you try running "mex -setup" and configure your MEX compiler.
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!