From: Raj Kamal on
I have a script file that uses eval function to read data from another file.

I compiled the file to create a standalone but the thing is it runs in matlab but doesnt run in standalone mode.
Can i compile a file that has eval function in it?
I am using R2008a.
Please help me.

With regards
Raj
From: Walter Roberson on
Raj Kamal wrote:
> I have a script file that uses eval function to read data from another
> file.
>
> I compiled the file to create a standalone but the thing is it runs in
> matlab but doesnt run in standalone mode.
> Can i compile a file that has eval function in it?

No, eval is not permitted in a compiled program.
From: Steven Lord on

"Walter Roberson" <roberson(a)hushmail.com> wrote in message
news:qQ4Yn.6737$Hw.5385(a)newsfe10.iad...
> Raj Kamal wrote:
>> I have a script file that uses eval function to read data from another
>> file.
>>
>> I compiled the file to create a standalone but the thing is it runs in
>> matlab but doesnt run in standalone mode.
>> Can i compile a file that has eval function in it?
>
> No, eval is not permitted in a compiled program.

EVAL is allowed in compiled applications, but I suspect the OP is using it
in a manner that will not work due to the problems described in the second
or third sections of this page:

http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/br2cqa0-2.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