-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is MCR version chosen based on SPM12 #393
Comments
good question. spm12 is compiled (not sure if that is the right term) for different versions of the matlab compiler runtime. the MCR version is part of the spm12 url. spm12 versions are also compiled for other MCR versions, but we decided to stick with MCR 2010a because all of the recent spm12 versions seem to support it. that makes installation simpler. i'm not sure if a more recent MCR provides advantages... |
Ah I see, thanks for the link! So, if I got that right In case the latter is true this could possibly be added? "Note: If not otherwise specified, Matlab Compiler Runtime (2010a) is installed when SPM12 is installed". Would be interesting to know if there are any advantages from using a more recent version, I mean 11 years are something, right? :D |
yes, not all combinations combinations of spm12 and mcr are valid... i made a new issue #394 to consider adding the valid spm12-mcr version pairs. |
The versions of the Compiler and the Runtime have to match for a given compiled application. Compiled SPM12 started with R2010a and that version was kept such that an update of SPM didn't require an update of the Runtime. With this version it is also possible to create a single compiled application for all operating systems, which is handy. That said, I agree that R2010a is very old now and future versions of standalone SPM will use a more recent version. There are unofficial compiled SPM12 here: r7771 with R2019b and dev with R2020a. |
I think we can close it now and just keep #394 |
I installed SPM12 (v7771) using
--spm12 version=r7771
. In the README it says "Note: Matlab Compiler Runtime is installed when SPM12 is installed." but which MCR version is installed given a specified SPM version? Apparently--spm12 version=r7771
comes withmatlabmcr-2010a
(which seems to be the default)? Does switching over to a more recent version of MCR using--matlabmcr
give me any advantages?The text was updated successfully, but these errors were encountered: