How can i compile a stateflow file in MATLAB 8.1 R2013a?

조회 수: 1 (최근 30일)
Francesco
Francesco 2014년 3월 28일
편집: Azzi Abdelmalek 2014년 3월 28일
Hello everybody!
I have some problems to compile a stateflow project, it gives me the following errors:
Making simulation target "Switch_ON_OFF_sfun", ...
/Applications/MATLAB_R2013a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2013a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2013a.app/stateflow/c/debugger/include Switch_ON_OFF_sfun.c
xcodebuild: error: SDK "macosx10.7" cannot be located.
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
mex: compile of ' "Switch_ON_OFF_sfun.c"' failed.
gmake: *** [Switch_ON_OFF_sfun.o] Error 1
I have tryed to follow this instructions:
http://www.mathworks.com/matlabcentral/answers/103904
but with no effect. Unfortunatly i upgraded my xcode to version 5 before you know that would give all these problems, so how can i resolve this problem?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by