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 vue (au cours des 30 derniers jours)
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 commentaires
Sébastien Doré
Sébastien Doré le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by