2008 Simulink compiler error on Windows 7 platform

조회 수: 1 (최근 30일)
Bala
Bala 2013년 12월 18일
댓글: Andreas Goser 2013년 12월 19일
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
Bala
Bala 2013년 12월 18일
sorry This is what I'm getting if I select y for the 1st q

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


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