Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Who is Targetman and why is he throwing errors?
Posted:
Feb 17, 2011 5:49 PM
|
|
When running a program that calls a Simulink model with embedded matlab and with mex functions, I get the following error
> In Run_Ascent_Guidance at 140 Embedded MATLAB parsing for model "TestAscent_EMLClosedLoop_x32RELEASE"...Done Embedded MATLAB code generation for model "TestAscent_EMLClosedLoop_x32RELEASE"....Done Embedded MATLAB compilation for model "TestAscent_EMLClosedLoop_x32RELEASE"...Making simulation target "TestAscent_EMLClosedLoop_x32RELEASE_sfun", ...
/Applications/MATLAB_R2009a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/slprj/_sfprj/TestAscent_EMLClosedLoop_x32RELEASE/_self/sfun/src -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2009a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2009a.app/stateflow/c/debugger/include TestAscent_EMLClosedLoop_x32RELEASE_sfun.c /Applications/MATLAB_R2009a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/slprj/_sfprj/TestAscent_EMLClosedLoop_x32RELEASE/_self/sfun/src -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2009a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2009a.app/stateflow/c/debugger/include TestAscent_EMLClosedLoop_x32RELEASE_sfun_registry.c /Applications/MATLAB_R2009a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/slprj/_sfprj/TestAscent_EMLClosedLoop_x32RELEASE/_self/sfun/src -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2009a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2009a.app/stateflow/c/debugger/include c2_TestAscent_EMLClosedLoop_x32RELEASE.c /Applications/MATLAB_R2009a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/slprj/_sfprj/TestAscent_EMLClosedLoop_x32RELEASE/_self/sfun/src -I/Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../simulink/include -I/Applications/MATLAB_R2009a.app/toolbox/stateflow/stateflow/../../../extern/include -I/Applications/MATLAB_R2009a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2009a.app/stateflow/c/debugger/include /Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/sfun_MainSub_wrapper.c /Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/sfun_MainSub_wrapper.c: In function 'sfun_MainSub_Outputs_wrapper': /Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/sfun_MainSub_wrapper.c:216: warning: passing argument 51 of 'mainsub_' from incompatible pointer type /Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/sfun_MainSub_wrapper.c:216: warning: passing argument 52 of 'mainsub_' from incompatible pointer type /Users/mrberryman/MyDocuments/Work/400RMP/Ascent_ver2_GatewayEML/sfun_MainSub_wrapper.c:216: warning: passing argument 53 of 'mainsub_' from incompatible pointer type gmake: *** No rule to make target `/EML_object_files_x32RELEASE/MainSub.obj', needed by `TestAscent_EMLClosedLoop_x32RELEASE_sfun.mexmaci'. Stop.
??? Error using ==> Run_Ascent_Guidance at 140 Error using ==> targetman>throw_make_error at 558 (SLSF Diagnostic). I'm not really sure where to start with this one. Any ideas?
|
|
|
|