2008 Simulink compiler error on Windows 7 platform

1 次查看(过去 30 天)
Hello this is sundaram, I'm working with R2008 simulink on XP platform from long time, recently I have migrated to Windows 7 platform. When I'm try to simulate simulink is throwing the below error
the mex compiler ' unknown ' is not supported for simulation builds
what could be the course and fix for it.
I have installed Microsoft Windows SDK 7.1 and re installed the Simulink, but still the same result.
can any one help...!
sundaram

回答(2 个)

Niklas Nylén
Niklas Nylén 2013-12-18
Run
mex -setup
and select a compiler.
  3 个评论
Niklas Nylén
Niklas Nylén 2013-12-18
I have always selected "y" on the first question. This works for me
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2011b\sys\lcc
[0] None
Compiler: 1
Please verify your choices:
Compiler: Lcc-win32 C 2.4.1
Location: C:\PROGRA~1\MATLAB\R2011b\sys\lcc
Are these correct [y]/n? y

请先登录,再进行评论。


Andreas Goser
Andreas Goser 2013-12-18
Most users report their OS migration, but do not look at the change of the architecture. Most Win7 installations will run on a 64 bit architecture. Please have a look at the supported compilers archive.
  3 个评论
Bala
Bala 2013-12-18
Thanks for the information, So you mean to say Simulink 2008b (rev 7.2) will not work on windows 7 64 bit platform. or I have some option.
Andreas Goser
Andreas Goser 2013-12-19
If you follow the link of supported OS, you see it is not supported. Not supported does not mean it can't work. It just means it is not tested and designed for. It typically means you will waste a lot of time to make it run. The happily work with it a couple of days just to find out a certain fucntionality does not run...
Install a MATLAB release that matches your OS and hardware!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by