Matlab Compiler erroneously include YOLOv2-3-4 support packages in standaloneApp (even though I do not use them in my code) which results in 700+ MB EXE file
1 view (last 30 days)
Show older comments
I recently installed these 3 support packages on my Windows 10 workstation (running Matlab R2023b Update 9 - latest AFAIK) :
- Computer Vision Toolbox Model for YOLO v2 Object Detection
- Computer Vision Toolbox Model for YOLO v3 Object Detection
- Computer Vision Toolbox Model for YOLO v4 Object Detection
Since then, I noticed that when I build a standaloneApplication, the archive (EXE file) is enormous (700+ MB as compared to ~1.8MB beforehand)
So I decided to peek into the EXE archive (using 7-zip) to try to identify the file causing this and I realized that these where now included even though I do not use any YOLO detector in said App :

It looks like the dependency analyzer thinks I need them for some reason...
Is this a bug or else is there a setting somewhere I can use to exclude these support-packages from being included in my App ?
Thanks!
Sébastien
Answers (0)
See Also
Categories
Find more on Image Processing and Computer Vision 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!