Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Francesco
Francesco am 28 Mär. 2014
Bearbeitet: Azzi Abdelmalek am 28 Mär. 2014
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?

Antworten (0)

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by