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

4 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by