Interfacing GAMS and MATLAB

questions about GAMS' tools
Post Reply
monireh
User
User
Posts: 3
Joined: 5 years ago

Interfacing GAMS and MATLAB

Post 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
User avatar
Renger
Posts: 639
Joined: 7 years ago

Re: Interfacing GAMS and MATLAB

Post by Renger »

Hi Monireh
Could you attach the code, so I could test it on my computer?
Cheers
Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist
Post Reply