Interfacing GAMS and MATLAB - worked well in MATLAB R 2009b - Showing Errors in MATLAB R 2013a - Reg
3 views (last 30 days)
Show older comments
Kallam Haranadha Reddy
on 3 Feb 2017
Commented: Walter Roberson
on 15 Apr 2020
I interfaced GAMS win32 24.7.4 software with MATLAB using the procedure explained in youtube video. I run the GAMS program from MATLAB R 2009b. successfully. But when i wanted to run the same GAMS file from MATLAB R 2013a , it is giving error message. The error message is shown below.
Input command :- system 'gams trnsport lo=3 gdx=solution'
*** Error: Error writing GAMSNext: Permission denied.
How can I solve this problem.
2 Comments
Accepted Answer
More Answers (1)
Kallam Haranadha Reddy
on 22 Dec 2018
4 Comments
duaa
on 15 Apr 2020
i have aproblem with
gdxWhos('solution')
or
gdxInfo('solution')
>> gdxWhos 'solution'
Invalid MEX-file 'E:\mat\mat\gdxWhos.mexw64': The specified module could not be found.
>> gdxInfo('solution')
Invalid MEX-file 'E:\GAMS\win64\28.2\gdxInfo.mexw64': The specified module could not be found.
what is the solution please??
Walter Roberson
on 15 Apr 2020
messages about module not found tend to indicate that there is a missing dll that is called by the file indicated. Sometimes you can use tools such as Dependency Walker, or Process Monitor to see what is missing. It is probably most common to end up needing to install Visual Studios Runtime
https://www.raymond.cc/blog/check-what-dll-or-ocx-dependency-files-is-needed-for-a-software/
See Also
Categories
Find more on Introduction to Installation and Licensing 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!