Stand-alone executable that runs?

조회 수: 1 (최근 30일)
Nina Buchanan
Nina Buchanan 2017년 7월 9일
댓글: Nina Buchanan 2017년 7월 11일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by