Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Who is Targetman and why is he throwing errors?
Replies: 4   Last Post: Jul 27, 2013 11:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Kevin Ehlmann

Posts: 1
Registered: 3/8/11
Re: Who is Targetman and why is he throwing errors?
Posted: Mar 8, 2011 4:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.