MEX-files Compiling Error

Hi All,
I'm using Win 7 64 bit and Matlab 2011b.
I had a problem during the setup the mex files. I downloaded SDk 7.1 as mentioned here http://www.mathworks.com/support/compilers/R2011b/win64.html
but the problem was not solved.The installation was always aborted giving a fatal error without installing x86 compiler even when i tried to download them separately it didn't work out.
Thanks

댓글 수: 2

Kaustubha Govind
Kaustubha Govind 2012년 8월 28일
Amira: Thank you for sharing your solution with the community. Could you please separate out your solution as an answer and accept it, so people don't confuse this with an unresolved problem?
Amira Hosny
Amira Hosny 2012년 8월 29일
Done

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

 채택된 답변

Amira Hosny
Amira Hosny 2012년 8월 29일

0 개 추천

This is how the problem was solved:
  1. Start insatalling SDk 7.1
  2. Uncheck c++ compiliers
  3. After SDK installation is done install this update http://www.microsoft.com/en-us/download/details.aspx?id=4422
  4. Open SDK cmd prompt Start >> All programs >> Microsoft Windows SDK 7.1 >> Microsoft SDK cmd prompt
  5. Change current directory to bin folder
  6. Build the required enviromental variables SetEnv.cmd/x64 /debug
you should get the following
Setting SDK enviroment realtive to C:\Program files\Microsoft SDKs\Windows\v7.1\.
Return to Matlab to setup mex files

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by