Interfacing MATLAB with GAMS optimization software - shadowing files - Error message - Reg

I want to interface GAMS optimization software with GAMS. I created a model (abc.gms) in GAMS and executed it successfully in GAMS. The same abc.gms model when i wanted to run from MATLAB by typing gams('abc'). It is giving the error message. Invalid MEX-file 'C:\GAMS\win32\24.7\gams.mexw32': The specified module could not be found.
when i typed the command
which gams -all, the following message is displayed.
which gams -all C:\GAMS\win32\24.7\gams.mexw32 C:\GAMS\win32\24.7\gams.m % Shadowed C:\Program Files\MATLAB\R2009b\toolbox\local\gams.dll % Shadowed .
How can i resolve this issue of shadowing of files and run GAMS models from MATLAB.
I am using MATLABR2009b version and GAMS win32 and 24.7 versions.
please kindly resolve my issue.
Thanks T.V.S.R.K.Prasad

1 Kommentar

Problem Solved. Seen the youtube video on MRGDX ,MATLAB and GAMS. rgdx and wgdx.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Dez. 2016

Kommentiert:

am 19 Dez. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by