How can I embed MCR in an executable file?

9 views (last 30 days)
Hello,
i want to compile an app and embed the MRC directly. Currently I always create an installation file which has to be installed on the end computer. Can I bypass this installation ?
Matlabversion : R2018a
Runtime: 9.4
Many thanks in advance
Torsten Klement
  5 Comments
Torsten Klement
Torsten Klement on 1 Feb 2019
I tested it quickly and it looks like you discribed it. Thanks a lot.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 16 Jan 2019
I don't recommend it. There are installer packages that can bundle everything in, like Centurion, into a single executable, but everytime you roll out a new version of your app with the same release of MATLAB you'll be distributing about a gigabyte of the MCR which the user does not need to install again. This makes your installer way too big, too long to transmit/deliver, and take too long to install again when it doesn't even NEED to be installed again (as long as you're on the same release of MATLAB. That's why I always deliver the installer for my app separately from the MCR installer.
  3 Comments
Torsten Klement
Torsten Klement on 1 Feb 2019
Thank you very much. This was very helpful to get a glance of upcoming workflows.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!