Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Image Analyst
Image Analyst il 24 Nov 2023
Modificato: Image Analyst il 24 Nov 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 Commenti
Image Analyst
Image Analyst il 24 Nov 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 il 24 Nov 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.)

Accedi per commentare.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by