Running GAMS from MATLAB
Posted: Wed Mar 06, 2019 8:11 pm
hey guys,
I am trying to call GAMS from a MATLAB code. I have done this a lot of times before, but this time it returns an error that I cannot solve it.
MATLAB returns the error below:
Error using gams
Could not write data with gdxDataWriteMapStart
Error in UIMA_GAMS (line 51)
gams('UIMA_GAMS_Function.gms',vs,bs,ts,A,I,RD,cHT,cWT,cLD,Dv,Lv,Pv,Ph,Db,Lb,HT);
My files have been attached. It would be greatly appreciated if you check it and help me. As I cannot attach an m-file here, I changed the extension of the file UIMA_GAMS.m to .gms and attach it. Please kindly change the extension to .m to use the file.
Thank you
Masoud
I am trying to call GAMS from a MATLAB code. I have done this a lot of times before, but this time it returns an error that I cannot solve it.
MATLAB returns the error below:
Error using gams
Could not write data with gdxDataWriteMapStart
Error in UIMA_GAMS (line 51)
gams('UIMA_GAMS_Function.gms',vs,bs,ts,A,I,RD,cHT,cWT,cLD,Dv,Lv,Pv,Ph,Db,Lb,HT);
My files have been attached. It would be greatly appreciated if you check it and help me. As I cannot attach an m-file here, I changed the extension of the file UIMA_GAMS.m to .gms and attach it. Please kindly change the extension to .m to use the file.
Thank you
Masoud