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 commentaire

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur App Building dans Centre d'aide et File Exchange

Question posée :

le 15 Déc 2016

Commenté :

le 19 Déc 2016

Community Treasure Hunt

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

Start Hunting!

Translated by