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!