MATLAB Answers

It's possible the use of a MCR version different from the utilized version of Matlab Compiler?

62 views (last 30 days)
For example, If I had an old version of MCR, could I use it in a file compiled with a newer version of Matlab compiler or I have to compile with the same old version of Matlab necessarily? Thanks

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Mar 2016
You always need the matching MCR. Always.

  3 Comments

Roberto Baraschino
Roberto Baraschino on 30 Mar 2016
Thank you Walter. Another question, probably stupid. I bougth a license of Matlab2016. Now it's possible getting an older version of Matlab from Mathworks or should I buy the older license?
Walter Roberson
Walter Roberson on 30 Mar 2016
https://www.mathworks.com/mwaccount/ and click on "Download Products". Now, over to the right, you can select older versions of MATLAB to download.
Your R2016a license entitles you to use any previous version as well.

Sign in to comment.

More Answers (1)

Orion
Orion on 30 Mar 2016
Hi,
An .exe made with a Matlab release will only work the associated version of the MCR.
If you want to use a newer version, you need to rebuild your exe with this version.

  3 Comments

Prachi Singh
Prachi Singh on 15 Apr 2019
I also have similar doubt, so as you said an .exe made with a Matlab release will only work the associated version of the MCR. My .exe runs with version 9.3(2017b) and I have version 9.5 (2018a) so can I install only MCR of 2017b and run my .exe without installing 2017b complete matlab software.
Walter Roberson
Walter Roberson on 15 Apr 2019
Prachi Singh:
Yes, if the .exe was built for R2017b, then you can install just the MCR for R2017b and run the .exe without installing MATLAB. The .exe only need the MCR to run, and do not need MATLAB installed at all.

Sign in to comment.

Sign in to answer this question.


Translated by