From: lsidhom lili on
"Ahmed " <ahmed_gabr83(a)yahoo.com> wrote in message <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

Hello,

I have a same problem. I installed a lcc-win64 but i still have the same problem?
any help please?
Tanks,
Lilia
From: florence berthold on
"Ahmed " <ahmed_gabr83(a)yahoo.com> wrote in message <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

Hello

I have the same problem like you, have you got find a solution at this problem.
Thank you for your ansewere.

Florence
From: Steven Lord on

"florence berthold" <florence.berthold(a)utbm.fr> wrote in message
news:hsuldc$9dg$1(a)fred.mathworks.com...
> "Ahmed " <ahmed_gabr83(a)yahoo.com> wrote in message
> <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

Make sure you have a supported compiler installed on your system.

http://www.mathworks.com/support/compilers/R2010a/win64.html

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com