Interfacing GAMS and MATLAB

questions about GAMS' tools
Post Reply
monireh
User
User
Posts: 3
Joined: 2 months ago

Interfacing GAMS and MATLAB

Post by monireh » 2 months ago

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: 263
Joined: 2 years ago

Re: Interfacing GAMS and MATLAB

Post by Renger » 2 months ago

Hi Monireh
Could you attach the code, so I could test it on my computer?
Cheers
Renger

Post Reply