MCR dll 7.16 32-bit 64-bit Windows 7

34 views (last 30 days)
Hi.
I use R2011B on a 32-bit installation on Windows 7. Where can I find the files for the MCR dll that I can send to customers so they can run compiled scripts.
Are their different 32-bit and 64-bit versions?
I knew how to do this for R2007B on 32-bit but now I am stuck.
I can install 64-bit if it helps but just dont use it for other reasons.

Accepted Answer

Dhanyatha
Dhanyatha on 30 Jun 2014
For MATLAB R2011b and all other older versions, you can find the path to MCR installer file by running the following command on MATLAB command prompt.
>> mcrinstaller
You can share the mcrinstaller.exe file present in the path to your customers.
You can also package the MATLAB Compiler Runtime (MCR) along with the application you want to deploy. In this method, when the client runs the deployed application, the installation of MCR is triggered in the beginning followed by deployment of the application.
Note: You will not be able to deploy applications if there is any mismatch between version and bitness of MATLAB (used for compilation) and MATLAB Compiler Runtime (MCR). It is important that you chose the correct MATLAB Compiler Runtime (MCR) with same version and bitness as MATLAB (used for compilation).
For versions R2012a and onwards, customers can download the MATLAB Compiler Runtime (MCR) file here on the MathWorks website.
  2 Comments
DeWayne Griffith
DeWayne Griffith on 11 Sep 2024
I have a system with R2011b today that needs the MCR 7.16. I enter mcrinstaller in the command window and get 'undefined function or variable'
Walter Roberson
Walter Roberson on 12 Sep 2024
mcrinstaller() is defined on systems that have MATLAB Compiler installed. The question was written from the point of view of someone who was compiling code and wanted to send the compiled code and appropriate MCR to customers.
If your current use is that of someone who has received compiled code that needs MCR 7.16 to function: then unfortunately you will need to obtain MCR 7.16 from the person who is providing the compiled code. That was the license terms back then, based upon the legal agreement between Mathworks and a company that Mathworks obtained MCR-related technology from, that MCR could not be made generally available and instead had to be provided to the end user by the organization that did the compiling. Mathworks eventually came to a new agreement with whatever company was involved, and started to be able to distribute MCR itself -- but the new agreement was not retroactive.

Sign in to comment.

More Answers (1)

David Sanchez
David Sanchez on 19 May 2014
Edited: Walter Roberson on 12 Sep 2024
  1 Comment
Walter Roberson
Walter Roberson on 12 Sep 2024
Note that this link only distributes R2012a (7.17) and later, and not the R2011b that was asked about. This link is not useful for R2011b and before.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!