"gdxxrw.exe has stopped working" error

Hi everybody!

I’m trying to call a gams model from matlab, but every time it executes the the gams command, I get the " gdxxrw.exe has stopped working" error.
The model reads the data from excel files(xls not xlsx) and I run the model within the gams IDE just fine!
it is just surprising for me that when I remove the following codes from my gams model, the link between gams and matlab works properly.
$CALL GDXXRW.EXE ST.xls par=state rng=A1:J25
Parameter state(h,device);
$GDXIN ST.gdx
$LOAD state
$GDXIN

Any suggestion what the problem might be?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.

Fahimeh,

It would make it easier to help you if you could send a minimal commented reproducible test case for the problem you are having. That is a good thing to provide with any problem report.

Steve

Sent from my iPhone

On Mar 1, 2014, at 5:54, Fahimeh Farjadnia wrote:

Hi everybody!

I’m trying to call a gams model from matlab, but every time it executes the the gams command, I get the " gdxxrw.exe has stopped working" error.
The model reads the data from excel files(xls not xlsx) and I run the model within the gams IDE just fine!
it is just surprising for me that when I remove the following codes from my gams model, the link between gams and matlab works properly.
$CALL GDXXRW.EXE ST.xls par=state rng=A1:J25
Parameter state(h,device);
$GDXIN ST.gdx
$LOAD state
$GDXIN

Any suggestion what the problem might be?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.