2008 Simulink compiler error on Windows 7 platform

6 vues (au cours des 30 derniers jours)
Bala
Bala le 18 Déc 2013
Commenté : Andreas Goser le 19 Déc 2013
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

Réponses (2)

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

Connectez-vous pour commenter.


Andreas Goser
Andreas Goser le 18 Déc 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 commentaires
Bala
Bala le 18 Déc 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 le 19 Déc 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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by