How to package programs containing third-party tools into independent apps in Matlab?
3 次查看(过去 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.
0 个评论
回答(1 个)
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
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
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.)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!