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

2 ビュー (過去 30 日間)
Siva
Siva 2016 年 12 月 15 日
コメント済み: Siva 2016 年 12 月 19 日
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 件のコメント
Siva
Siva 2016 年 12 月 19 日
Problem Solved. Seen the youtube video on MRGDX ,MATLAB and GAMS. rgdx and wgdx.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeString Parsing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by