Matlab Compiler DLLs Larger in 2018a vs 2016b

3 views (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!