How can I run my stateflow in Matlab, Simulink?

I have a Macintosh OS. When running the Simulink how can I solve this error: /Applications/MATLAB_R2011a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2011a.app/toolbox/stateflow/stateflow/ /Applications/MATLAB_R2011a.app/bin/mex: line 305: gcc-4.2: command not found
mex: compile of ' "cnt_sfun.c"' failed.
gmake: * [cnt_sfun.o] Error 1

Categories

Find more on Decision Logic in Help Center and File Exchange

Asked:

on 18 Apr 2013

Community Treasure Hunt

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

Start Hunting!