MCC in Matlab 2014b on Windows 10

2 views (last 30 days)
This is a slightly esoteric question, but for some technical reasons I'm looking to use the Matlab runtime library compiler (mcc under Linux) but specifically with an older version (2014b). However, the PC I have available to me is a Window 10 64 bit system.
Does anyone know if this distribution will work and compile on this system? I'm unable to test it to be sure myself, but I would like to know ahead of time if this is possible.

Accepted Answer

Walter Roberson
Walter Roberson on 11 Feb 2016
What you propose is difficult to achieve. The only person I have seen indicate success for this was a situation where they had R2014b on a Windows 7 (or perhaps Windows 8) machine and did an Upgrade to Windows 10; apparently in that situation Windows was able to get the libraries right.
I did, though, see hints that perhaps a key bug on Microsoft's side has been repaired, so these days it might be practical. I have not seen anyone post about that.
So these days it is a "Well, maybe", whereas before it was a "No deal".
  3 Comments
jgg
jgg on 25 Feb 2016
It actually turns out that the Matlab compiler does not support cross-compiling at all, so this is not feasible in any case.
Walter Roberson
Walter Roberson on 25 Feb 2016
Yes, I missed the bit about it being cross-compiling. To use something compiled with MATLAB Compiler on Windows, on a Linux target, you need to use a Windows emulator such as Wine on the Linux system.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler 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!