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 Center および File ExchangeComplex Logic についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by