Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Who is Targetman and why is he throwing errors?
Posted:
Mar 13, 2012 8:42 AM
|
|
"Kevin Ehlmann" wrote in message <il6707$4ai$1@fred.mathworks.com>... > "John Berryman" <berryman@bainet.com> wrote in message <ijk8kv$q6s$1@fred.mathworks.com>... > > 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? > > I don't know, but I seem to have the same problem with a similar program
Has anybody got any solution to this issue?? It will really help me out alot. Thanks In advance
|
|
|
|