필터 지우기
필터 지우기

How to package programs containing third-party tools into independent apps in Matlab?

조회 수: 2 (최근 30일)
Hello everyone:
I recently encountered an issue when using Matlab to package a standalone desktop app.The program I wrote includes third-party tools such as Cplex and YALMIP. Then I encountered the following problem and the program was unable to execute the plugin function properly. Is there any way to solve it.

답변 (1개)

Image Analyst
Image Analyst 2023년 11월 24일
편집: Image Analyst 2023년 11월 24일
First you'd have to get permission from the author/publisher to compile their third party code into your standalone executable. I have the PLS Toolbox and there is an extra licensing fee if you want to compile that is separate/additional from the regular license fee for using it in the MATLAB runtime environment.
Even if it's "open source" you need to check out the license to make sure you can legally do that.
So, assuming you can, you need the MATLAB Compiler Toolbox. See the FAQ:
(Sorry I don't read Chinese so can't tell what your screenshot is saying.)
  댓글 수: 3
Image Analyst
Image Analyst 2023년 11월 24일
Maybe, maybe not. Did you read the license of those packages? Or you can send them an email or call them.
Steven Lord
Steven Lord 2023년 11월 24일
There's also the question of whether those third party products use functionality that's not supported for use with MATLAB Compiler. See this page that lists at a high level functionality from MathWorks products not supported for use with MATLAB Compiler and Simulink Compiler, this page that offers a list of some specific functions not supported for use with MATLAB Compiler (and help is on that list), and this page that lists some limitations of MATLAB Compiler (in particular, if those third party products create code at run-time that they then try to execute that won't work in a deployed application.)

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

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by