Date: Jan 20, 2013 8:25 AM
Author: anyone
Subject: Re: unable to locate mexopts.bat error

On Sun, 20 Jan 2013 11:15:08 +0000, Raghu Raman wrote:

> anyone <ieGJnr4aQXRb!uzEL@z³> wrote in message
> <50fb431b$0$13462$c3e8da3$dd9697d2@news.astraweb.com>...

>> On Sat, 19 Jan 2013 18:33:08 +0000, Raghu Raman wrote:
>>

>> > i'm using matlab 2010 b on windows 7 64 bit OS. when i try to run
>> > anembedded function block on simulink i get this error - "Unable to
>> > locate 'mexopts.bat', and therefore cannot determine which compiler
>> > to use for simulation builds." how to rectify the error?
>> >
>> > please help.
>> >
>> > thank you.

>>
>> Did you choose a compiler?
>> See: Help -> documentation, Search: mex setup

>
> thank you. i tried to choose a compiler but this is what happend.
>
> " mbuild -setup Please choose your compiler for building standalone
> MATLAB applications:
>
> Would you like mbuild to locate installed compilers [y]/n? y
>
> Select a compiler:
>
> [0] None
>
> Compiler: "
>
> how to proceed?


Install a Matlab-compatible compiler, run setup again.
http://www.mathworks.com/support/compilers/1601_74.html