XPC model compiler issue in R2009bsp1
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to compile a xpc model in R2009bsp1(32bit ver) on a windows 7 /64 bit machine and end with an error as below. The model used to compile before without any issues on the same machine. I am using Micorsoft Visual C++ 8.0.
Error: Invalid setting for environment variable MSDevDir or DevEnvDir. The setting is: 'c:\program files (x86)\microsoft visual studio 9.0\common7\ide' You can verify the setting by checking for the existence of: %DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 9.0) %MSDevDir%\..\..\vc98\bin\vcvars32.bat (for Visual C/C++ 6.0) %DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 8.0) %DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 7.1) %DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 8.0)
You must define MSDevDir or DevEnvDir to be: set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 9.0) set %MSDevDir%=<VisualRoot>\common\msdev98 (for Visual C/C++ 6.0) set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 8.0) set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 7.1) set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 8.0)
This error may be due to an invalid preference file: C:\Users\krisha1\AppData\Roaming\MathWorks\MATLAB\R2009b\mexopts.bat Please run "mex -setup" at the MATLAB prompt to correct
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!