Moving Matlab application from 32 bit to 64 bit

조회 수: 2 (최근 30일)
Kriti Kapoor
Kriti Kapoor 2017년 2월 24일
댓글: Walter Roberson 2017년 3월 29일
I have been using Matlab 7.1 with Microsoft Visual Studio on a 32 bit Windows 2003 server. Now, I'm trying to move all my applications to a 64 bit 2008 server. I installed Matlab 7.7 along with Visual C++ 2005 since this link suggests that these versions are compatible - https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2008b_SupportedCompilers.pdf.
When I type "mbuild -setup" in 64 bit Matlab 7.7, it does not detect any compilers. When I type the same command in my 32 bit Matlab 7.1, it detects two compilers - Microsoft Visual Studio and the Lcc compiler in Matlab folder.
Do I need to do something else to make this system work in 64 bit?

답변 (1개)

Faiz Gouri
Faiz Gouri 2017년 2월 27일
Most possible reason for this behavior is that the PATH is not set for the new compiler or it is added behind a 32-bit compiler. After installing a compatible 64-bit compiler in the target machine, it has to be set in the PATH system environmental variable in order to be picked up by MATLAB. MATLAB picks up the first compiler in the PATH, so make sure it is added on top of the list of paths in PATH.
  댓글 수: 7
Kriti Kapoor
Kriti Kapoor 2017년 3월 29일
I installed SDK 7.1 and put its location in the PATH environment variable. Matlab still fails to detect it as a compiler. Do I need to add another Matlab specific env variable? Seems like MSVCDIR is only needed for certain versions of Visual C++. Do I need to register that installation somewhere?
Walter Roberson
Walter Roberson 2017년 3월 29일
Sorry, I do not know.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by