Interfacing MATLAB with GAMS optimization software - shadowing files - Error message - Reg
2 views (last 30 days)
Show older comments
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
Answers (0)
See Also
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!