필터 지우기
필터 지우기

Compiling standalone does not work with linprog (optimization toolbox)

조회 수: 4 (최근 30일)
Francisco Rodero
Francisco Rodero 2019년 1월 22일
댓글: Francisco Rodero 2019년 1월 23일
Hello,
I've developed some code (Matlab R2018b) that uses linprog from optimization toolbox that works properly in MATLAB, but if I try to generate standalone application, the .exe file generates the following error (i used two compilers with the same result):
Error using linprog (line 346)
LINPROG has stopped because it encountered an internal error. We are sorry for t
he inconvenience.
Please contact technical support for assistance with your problem, quoting the c
ode "-1000@-1000".
Any idea about how to address this issue?
Thanks in advance
Best Regards
  댓글 수: 2
Derya
Derya 2019년 1월 22일
Hello Francisco,
I wonder whether you have an issue with paths or missing libraries. The specific error code you mention may indicate that a library call is failing.
If you could please share a small reproduction example including the steps you followed to generate the executable.
Kind Regards,
Derya
Francisco Rodero
Francisco Rodero 2019년 1월 23일
Hello again,
I finally discovered what's the problem. McAfee antivirus blocks the execution of files in Temp folder. I just added a rule to allow that for my .exe file and it works.
Thank you anyway.
Regards!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by