MATLAB: Standalone application does not open for end users after including toolbox functionality

applicationcompilerexecutableMATLAB Compilermcrruntimestandalonetoolbox

I have compiled an application for some end users that was previously working. One end user has the same MATLAB version and toolboxes that I do and another does not have MATLAB.
I recently added some functionality from a toolbox, and now the compiled application is working on my machine, but not my end users'. On their machines, the application is failing to open.
To confirm, I removed the toolbox functionality and the standalone application works again. How can I fix this?

Best Answer

Starting from R2016a, the MCR can be split up into smaller components to reduce the size. It is possible that if the MCR was downloaded and only included the "numeric" sections and the addition of the toolbox required the "core" functionality of the MCR.
When distributing the standalone application to the end users, it was likely done so using only the numeric MCR, and the MCR download was available from the application. If the MCR was downloaded from the website, it would include all of the functionality and not just a subsection. Redownloading the MCR with:
>> compiler.runtime.download
in the MATLAB Command Window or downloading the MCR from the following link should resolve the issue.