Matlab Compiler DLLs Larger in 2018a vs 2016b

4 vues (au cours des 30 derniers jours)
Christos Hristovski
Christos Hristovski le 25 Juin 2018
I have a Win 7x64 DLL that was created and used using 2016b, and the DLL comes in at ~50MB fully compiled using that version. The project involves a wrapper script that instantiates a class, incorporates a mex file, and processes some data that's passed in; basic stuff.
After updating to 2018a, and then just re-opening and re-compiling the exact same project, the DLL is now ~250MB, which runs into issues for version control / deployment.
I've tried using the mwArray API / Matlab Data API separately, and this seems to have no effect. What happened to cause such a large discrepancy for deployed code (~5x change) and what options / compiler flags can I set to try and get the size back down to under 100MB?
Compiler is MS VisualStudio 2015, and I've tried MS VS 2013 and it shows the same issue.

Réponses (0)

Catégories

En savoir plus sur Deploy to C++ Applications Using mwArray API (C++03) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by