Stand-alone executable that runs?

1 次查看(过去 30 天)
Using R2017a on windows 10. I have a small model that runs within simulink. When compiled, the exe runs within matlab. But it does not run when placed on the desktop. I installed the run-time libraries; that didn't help. I searched and tried slrbuild; that didn't work either.When I try to run the exe within a terminal window, I get "could not open " a dll, and to use the packNGO function. Where can i find the information to help me compile and run my model within windows? Thanks.

采纳的回答

Image Analyst
Image Analyst 2017-7-10
Have you exhausted all the things in the FAQ yet:
If none of the 12 things to try help, then call the Mathworks because it will be a super tricky, unusual thing that's never made it into the FAQ.
  3 个评论
Walter Roberson
Walter Roberson 2017-7-10
MinGW has never been supported by MATLAB Compiler or MATLAB Compiler SDK.
Nina Buchanan
Nina Buchanan 2017-7-11
My executable works now. It needed to be run within the same folder of DLLs created by the PackNGO options on the code generation model parameters. Thanks again for pointing me to that FAQ, which I had not seen before.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by