Page 1 of 1

Interfacing GAMS and MATLAB

Posted: Thu Dec 20, 2018 11:40 am
by monireh
Hey all,

I used Matlab R2017a, Gams 24.1 and the guidance of GDXMRW: Interfacing GAMS and MATLAB by Michael C. Ferris Rishabh Jainy Steven Dirksez (May 11, 2010).
I run all tests (gdxmrw03, gdxmrw04, gdxmrw05) with successfully messages, but gdxmrw04 had no message.
when i want calling GAMS model from MATLAB with Input data from matlab, it gives this error: " Error using gams
abnormal GAMS termination running E:\GAMS \win64\24.1\gams.exe model name lo=0: check listing file" while calling GAMS model from MATLAB without Input data from matlab, shows correctly the objective function.
What files are listing file? .lst, matdata.gdx, matdata.gms and output.gdx are created but I think .gdx file Are incomplete.
forum.png
Can anybody direct me where in the process of trying to connect Matlab and Gams I did mistake?
Thank you
monireh

Re: Interfacing GAMS and MATLAB

Posted: Thu Jan 03, 2019 10:24 am
by Renger
Hi Monireh
Could you attach the code, so I could test it on my computer?
Cheers
Renger