Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Whenever I run a simulink model which involves embedded math function I get this message. I am using Matlab R2012a on mac OS

1 回表示 (過去 30 日間)
Uma Syamkumar
Uma Syamkumar 2013 年 8 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Making simulation target "prog_sim_model_sfun", ...
/Applications/MATLAB_R2012a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2012a.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2012a.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2012a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2012a.app/stateflow/c/debugger/include prog_sim_model_sfun.c /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 ' "prog_sim_model_sfun.c"' failed.
gmake: * [prog_sim_model_sfun.o] Error 1

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2013 年 8 月 8 日
You may want to look at this previously answered question.

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by