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

11 Ansichten (letzte 30 Tage)
Jessica West
Jessica West am 9 Nov. 2023
Kommentiert: Jessica West am 9 Nov. 2023
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.

Antworten (1)

Image Analyst
Image Analyst am 9 Nov. 2023
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 Kommentar
Jessica West
Jessica West am 9 Nov. 2023
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?

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by