MCR dll 7.16 32-bit 64-bit Windows 7

34 次查看(过去 30 天)
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.

采纳的回答

Dhanyatha
Dhanyatha 2014-6-30
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 个评论
DeWayne Griffith
DeWayne Griffith 2024-9-11
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 2024-9-12
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.

请先登录,再进行评论。

更多回答(1 个)

David Sanchez
David Sanchez 2014-5-19
编辑:Walter Roberson 2024-9-12
  1 个评论
Walter Roberson
Walter Roberson 2024-9-12
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by