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

33 ビュー (過去 30 日間)
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 件のコメント
Walter Roberson
Walter Roberson 2025 年 1 月 23 日 22:00
If you were using R2024b or later, you would consider using compiler.runtime.customInstaller
Sébastien Doré
Sébastien Doré 2025 年 1 月 24 日 12:47
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage and Video Ground Truth Labeling についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by