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)
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
  2 Comments
Sébastien Doré
Sébastien Doré on 24 Jan 2025
Hello Walter,
Thanks for the reply, but for clarity, I'm not using the installer at all in this case. The archive content shown in the snapshot above is the executable file itself (myApp.exe) opened with 7-zip file manager.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!