How to connect GAMS to Matlab?

조회 수: 11 (최근 30일)
panagiotis skrempos
panagiotis skrempos 2022년 7월 12일
답변: Jash Kadu 2022년 7월 13일
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?

답변 (1개)

Jash Kadu
Jash Kadu 2022년 7월 13일
Hi,
Please check the following links:
How to interface GAMS with MATLAB -
How to use GAMS MATLAB interface -

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by