How to specify ther version of MCR I want to use when compiling?

1 view (last 30 days)
Hello everyone,
I'm using Matlab R2007b with MCR v4.7. Now I need to compile my function using MCR v7.13 (R2010a), so I downloaded MCR v7.13 (R2010a) and installed it in my system. However, when I compile my function using mcc, it's still using MCR v4.7 (R2007b). How can I specify the version of MCR I want to use when using mcc? p.s. I don't have Matlab R2010a in my system.
Please help, thanks!

Accepted Answer

Image Analyst
Image Analyst on 13 Jul 2014
You need to run the version of MATLAB that corresponds to the version of MCR you want, and compile in that version. You should upgrade to R2014a - why use a 7 year old version?
  2 Comments
Yue
Yue on 14 Jul 2014
Thanks for your reply. So for my case I should upgrade my MATLAB to R2010a in order to compile with MCR v7.13 (R2010a), is it?
Image Analyst
Image Analyst on 14 Jul 2014
I don't know if it's possible to "upgrade" to a 4 year old version. I doubt it. However, if you already have it installed, or still have the installer for it, then you can run it.
However, I believe you can download the MCRinstaller.exe for an old version so if someone did compile a standalone program with R201a, and gave it to you, you'd be able to run it if you also installed the MCRInstaller from R2010a.

Sign in to comment.

More Answers (0)

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!