2008 Simulink compiler error on Windows 7 platform

1 view (last 30 days)
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

Answers (2)

Niklas Nylén
Niklas Nylén on 18 Dec 2013
Run
mex -setup
and select a compiler.
  3 Comments
Niklas Nylén
Niklas Nylén on 18 Dec 2013
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 on 18 Dec 2013
sorry This is what I'm getting if I select y for the 1st q

Sign in to comment.


Andreas Goser
Andreas Goser on 18 Dec 2013
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 Comments
Bala
Bala on 18 Dec 2013
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 on 19 Dec 2013
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!

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!