How do I package add-ons with my standalone app?

10 ビュー (過去 30 日間)
Jessica West
Jessica West 2023 年 11 月 9 日
コメント済み: Jessica West 2023 年 11 月 9 日
Hi, I am trying to build a standlone app with App Designer. On my computer, I have the MATLAB Support for MinGW-w64 C/C++ Compiler ver 23.1.0. It is necessary for some of the aspects of my code to function. When I package the app, it doesn't seem to include this add-on, since those aspects don't work.
I'm rather new to compiler stuff, so any information would be greatly appreciated! And let me know if there is other information I can provide.

回答 (1 件)

Image Analyst
Image Analyst 2023 年 11 月 9 日
You need to include them with the -a option of mcc. Here is an example of mine where I had to explicitly include the resnet18 add-on:
mcc('-m', mFileName, '-d', outputFolder, ...
'-a', './Deep Learning Module/*.m', ...
'-a', 'C:\ProgramData\MATLAB\SupportPackages\R2022b\toolbox\nnet\supportpackages\resnet18');
  1 件のコメント
Jessica West
Jessica West 2023 年 11 月 9 日
I see. I'm not sure what files I need to include for the add on to work, though. I found a folder of libraries in C:\Program Files\MATLAB\R2023a\extern\lib\win64\mingw64 that corrospond to the add-on I want to include. Do I just add that folder?

サインインしてコメントする。

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by