MCR for running a 64-bit app in a windows 7 32-bit

3 views (last 30 days)
I need to create a standalone application so I packaged my guide using deploytool in my Windows10 64-bit with a MCR version 9.2, but I need to use the app in a Windows7 32-bit. When I tried to install my .exe with the MCR included in the windows7 PC, an error appeared (translated): The version of the file is not compatible with the running windows version. Check the system information of your computer and see if you need the x86 (32 bit) or x64 (64 bit) version of the program, then contact the software distributor.
So what I need? Do I have to download a 32bit Matlab like R2015b or I only need the MCR of a 32bit Matlab?
Waiting for your answers.

Answers (2)

Vincent
Vincent on 13 Nov 2017
Hello,
You need to compile your code in MATLAB 32 bit (and when deploying, you also need MCR 32 bit, but that version can be integrated automatically).
Vincent
  1 Comment
Walter Roberson
Walter Roberson on 13 Nov 2017
To expand: this is fundamentally an operating system limitation, and it exists in the great majority of operating systems. Os-x "fat binaries" and Microsoft "universal" binaries attempt to solve part of the problem. Something I read a few weeks ago implied Microsoft is going to be downplaying Universal binaries, that they do not consider them successful.

Sign in to comment.


Álvaro Pauner Argudo
Álvaro Pauner Argudo on 14 Nov 2017
Thank you very much guys. So, as I understand, I have to download Matlab R2015b according to MCR version because since Matlab R2016a is for win64, right?

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!