embedded matlab function in simulink
10 ビュー (過去 30 日間)
古いコメントを表示
Hallo, I've installed matlab and simulink 2010 a for student. When I try to use embedded matlab function I receive this message: "
Making simulation target "untitled_sfun", ...
/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/mex -c -O -DMATLAB_MEX_FILE -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../simulink/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../extern/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/mex/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/debugger/include untitled_sfun.c
Warning: You are using gcc version "4.4.3-4ubuntu5.1)". The version currently supported with MEX is "4.2.3". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/mex -c -O -DMATLAB_MEX_FILE -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../simulink/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../extern/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/mex/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/debugger/include untitled_sfun_registry.c
Warning: You are using gcc version "4.4.3-4ubuntu5.1)". The version currently supported with MEX is "4.2.3". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/mex -c -O -DMATLAB_MEX_FILE -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../simulink/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/toolbox/stateflow/stateflow/../../../extern/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/mex/include -I/tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/debugger/include c2_untitled.c
Warning: You are using gcc version "4.4.3-4ubuntu5.1)". The version currently supported with MEX is "4.2.3". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/mex -silent LDFLAGS="\$LDFLAGS " -output untitled_sfun.mexglx untitled_sfun.o untitled_sfun_registry.o c2_untitled.o /tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/mex/lib/glnx86/sfc_mex.a /tmp/mathworks_downloads/R2010a_Student_Version/unix/stateflow/c/debugger/lib/glnx86/sfc_debug.a -L/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/glnx86 -lfixedpoint -lut -lmwmathutil -lemlrt -lmwblascompat32 -L/tmp/mathworks_downloads/R2010a_Student_Version/unix/bin/glnx86 -lippmwipt
Warning: You are using gcc version "4.4.3-4ubuntu5.1)". The version currently supported with MEX is "4.2.3". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
/usr/bin/ld: cannot open linker script file /tmp/mathworks_downloads/R2010a_Student_Version/unix/extern/lib/glnxa64/mexFunction.map: No such file or directory collect2: ld returned 1 exit status
mex: link of ' "untitled_sfun.mexglx.mexa64"' failed.
gmake: * [untitled_sfun.mexglx] Error 1"
Someone knows the solution? thanks Salvatore
0 件のコメント
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!