Clear Filters
Clear Filters

How to connect GAMS to Matlab?

10 views (last 30 days)
panagiotis skrempos
panagiotis skrempos on 12 Jul 2022
Answered: Jash Kadu on 13 Jul 2022
Hi there,
I am facing a problem with Gams as part of my thesis. I have added the GAMS to the PATH environmental variable(C:\GAMS\win64\24.1;C:\GAMS\win64\24.1\gbin) and i have done it also in the set path option in MATLAB (C:\GAMS\win64\24.1). The problem is that when i type a command like ; system 'gams ? lo=3' or something similar i get the message "'gams' is not recognized as an internal or external command,
operable program or batch file. ",
whereas when i type which gams in command window I get this "C:\GAMS\win64\24.1\gams.mexw64"
What can i do?

Answers (1)

Jash Kadu
Jash Kadu on 13 Jul 2022
Hi,
Please check the following links:
How to interface GAMS with MATLAB -
How to use GAMS MATLAB interface -

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!