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

2 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Image Analyst
Image Analyst el 24 de Nov. de 2023
Editada: Image Analyst el 24 de Nov. de 2023
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 comentarios
Image Analyst
Image Analyst el 24 de Nov. de 2023
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 el 24 de Nov. de 2023
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.)

Iniciar sesión para comentar.

Categorías

Más información sobre Application Deployment en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by