From: Ahmed on 15 Feb 2010 14:49 Here is the error: ----------------------- Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler. ------------------------ i tried to run mex -setup command and this is what i got: ------------------------------- Would you like mex to locate installed compilers [y]/n? y Select a compiler: [0] None Compiler: --------------------------------- i am using Windows 7 x64, i am not sure if this has anything to do with the error? iam trying to run a stateflow with S Any help would be appreciated. Thanks, Ahmed Gabr
From: Arnaud Miege on 16 Feb 2010 05:24 "Ahmed " <ahmed_gabr83(a)yahoo.com> wrote in message news:hlc8fe$eas$1(a)fred.mathworks.com... > Here is the error: > ----------------------- > Unable to locate 'mexopts.bat', and therefore cannot determine which > compiler to use for simulation builds. > Use 'mex -setup' to select a supported compiler. > ------------------------ > > i tried to run mex -setup command and this is what i got: > > ------------------------------- > Would you like mex to locate installed compilers [y]/n? y > > Select a compiler: > [0] None > Compiler: --------------------------------- > i am using Windows 7 x64, i am not sure if this has anything to do with > the error? iam trying to run a stateflow with S > > Any help would be appreciated. > > Thanks, > > Ahmed Gabr > You need a supported C compiler on 64-bit windows. Assuming you are using R2009b, have a look at: http://www.mathworks.co.uk/support/compilers/R2009b/win64.html If you are using Microsoft Visual Studio, pay particular attention to note #6 on that page. HTH, Arnaud
|
Pages: 1 Prev: Creating my own tie break rule for KNN Next: Multiple simulation data in simout |