How do I package add-ons with my standalone app?
11 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Image Analyst
on 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');
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!