SDK 7.1 64-bit C++ compiler invisible to Matlab r2012a 64-bit - Help!
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Stephen
2012 年 10 月 1 日
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
回答 (1 件)
Azzi Abdelmalek
2012 年 10 月 2 日
If you can get microsoft visual 2010 pro, the problem will be fixed, with sdk7.1, sometimes, there are unknown problems,
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で COM Component Integration についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!