From: Crisaida Flores Alvarez on
Hi everyone:

I have a code in wich I read data from three spreadsheets of Excel,
for that I use the command: "xlsread".

When I compile my .m code with the command "mcc -m file.m" for Visual
C++, I get this message:

"The "which" function is only available in MEX mode. A run-time error
will occur if this code is executed in
stand-alone mode."

And, when I try to execute de .exe file that Iýve generated, I canýt.

Can anyone help me please? Is there any other way for opening this
excel files?

Thanks,

Crisaida Flores Alvarez
From: Gopinath Venkatachalam on
Dear Friend,

It is already answered in the following page....
Please see the following link...
<http://www.mathworks.com/support/solutions/data/1-19BRT.html?solution=1-19BRT>

Regards
Gopi

Crisaida Flores Alvarez wrote:
>
>
> Hi everyone:
>
> I have a code in wich I read data from three spreadsheets of Excel,
> for that I use the command: "xlsread".
>
> When I compile my .m code with the command "mcc -m file.m" for
> Visual
> C++, I get this message:
>
> "The "which" function is only available in MEX mode. A run-time
> error
> will occur if this code is executed in
> stand-alone mode."
>
> And, when I try to execute de .exe file that Iýve generated, I
> canýt.
>
> Can anyone help me please? Is there any other way for opening this
> excel files?
>
> Thanks,
>
> Crisaida Flores Alvarez