Why do I get the error "Failed to embed unzip in your application. Update resource failed" when compiling my code with MATLAB Compiler or Compiler SDK?

3 views (last 30 days)
When I am compiling my code with MATLAB Compiler or Compiler SDK, I receive the following error:
Failed to embed unzip in your application.Update resource failed: 0000000037E55C30Failed to embed installer splash screen C:\Program Files\MATLAB\R2014a\toolbox\compiler\Resources\default_splash.png.Update resource failed: 0000000037E55CB0Attempting to embed default installer splash screen, C:\Program Files\MATLAB\R2014a\toolbox\compiler\Resources\default_splash.png.Failed to embed installer splash screen C:\Program Files\MATLAB\R2014a\toolbox\compiler\Resources\default_splash.png.Update resource failed: 0000000037E55BB0Failed to create the full installer.No installer package created.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Mar 2025
Edited: MathWorks Support Team on 12 Mar 2025
NOTE: In newer versions of MATLAB, the "Failed to embed unzip in your application" is more likely to be due to firewall and IT restrictions. See the following answer for more details:https://www.mathworks.com/matlabcentral/answers/2012347-why-do-i-encounter-update-resource-failed-failed-to-embed-or-unable-to-open-file-errors-when
This is an issue when the machine is running out of memory. It usually occurs with 32-bit MATLAB Compiler, but it can also occur with 64-bit MATLAB, if the machine RAM is 4GB or less, regardless of bitness.
The MCR is relatively big, and when packaging it gets copied and moved around so it uses a bit of RAM. This can be compounded if the icon and splash screen images are large-sized pictures, or if there are other large size files being deployed.
Possible workarounds:
1. Increase RAM size if it is less than 4GB.
2. Use a smaller size icon and splash screen image.
3. Shut down other processes on the machine and attempt to free up as much memory as possible while packaging.
4. Choose not to install MATLAB Runtime during application installation (since R2024a). Documentation
This error can also occur in cases where RAM size is more than 4GB, shutting down processes and freeing RAM space can resolve the issue.

More Answers (0)

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Products


Release

R2014a

Community Treasure Hunt

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

Start Hunting!