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

11 visualizaciones (últimos 30 días)
Jessica West
Jessica West el 9 de Nov. de 2023
Comentada: Jessica West el 9 de Nov. de 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.

Respuestas (1)

Image Analyst
Image Analyst el 9 de Nov. de 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 comentario
Jessica West
Jessica West el 9 de Nov. de 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?

Iniciar sesión para comentar.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by