Interfacing MATLAB with GAMS optimization software - Error messages
2 次查看(过去 30 天)
显示 更早的评论
I want to interface MATLAB with GAMS optimization software.
My GAMS system directory is located in drive C:
My MATLAB software is located in C:\Program Files\R2009b\
I prepared a model called "Agent" in gams and executed successfully in GAMS. The same model when i tried to excute from MATLAB by typing command
gams('Agent')
the MATLAB is giving the following error message.
Invalid MEX-file 'C:\GAMS\win32\24.7\gams.mexw32': The specified module could not be found. .
please guide me how i can execute my GAMS model from MATLAB.
Thanks T.V.S.R.K.Prasad
0 个评论
采纳的回答
Walter Roberson
2016-12-11
Either you are using a 64 bit version of MATLAB with the 32 bit gams DLL, or else some other DLL that gams needs is missing from your system (the more likely case.) You will probably need to use Dependency Walker to find the missing DLL.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!