SDK 7.1 64-bit C++ compiler invisible to Matlab r2012a 64-bit - Help!

3 visualizaciones (últimos 30 días)
For the past 4/5 days I have been trying to get Matlab r2012a to use the 64-bit C++ compilers that come with Microsoft SDK 7.1, Ive installed Visual C++ 2010 64-bit, I've installed .NET framework 4, then installed SDK 7.1 so that the 64-bit compliers are installed, yet when I use the 'mex -setup' command only the 32 bit compliers are shown, by following;
I've even tried this method using Visual C++ 2008 and SDK 6.1, and swapping out some files to kind of jury rig it, still I cant get it to take. by following
We need a fix so that we can run a C program to compile it into a .MEX file to control a 'Simulink Execution Control' block, everything else in our system works apart from that, since upgrading to 64-bit Matlab.
If any body has any other suggestions or am I doing something completely wrong here?
Daniel
  2 comentarios
Stephen
Stephen el 1 de Oct. de 2012
wow, good luck because that is a pain if it doesn't work the first time for you. There is most likely a patch that no one noticed that can help matlab recognize your 64-bit compiler. If you haven't looked for patches, start there. The next problem would be hardcoded file paths in the patch files or some other file matlab uses to find the compiler. That's what your second link is fixing when you replace the .bat files and what not. So, don't start replacing those until you get matlab's mex -setup to find your compiler on the list. Is there any way to open the cpp file in notepad++ or something and just write a new .m file to do the same thing as the mex is supposed to do? OR even easier, get in touch with whoever wrote the original package and ask if they can provide the 64-bit mex. Good luck
Daniel  Clarke
Daniel Clarke el 1 de Oct. de 2012
Yeah to be honest I think that installing the SDK is giving me the 64 bit compilers, as you said, perhaps I need the 64 bit mex file, that probably is my solution though I'm now looking into this
but if I could get hold of the 64bit version of this
though it hasnt been updated in like 3 years
thank you :)

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Oct. de 2012
If you can get microsoft visual 2010 pro, the problem will be fixed, with sdk7.1, sometimes, there are unknown problems,

Categorías

Más información sobre COM Component Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by