What " lo=3 " means in system option???

1 view (last 30 days)
Hello. I'm MATLAB beginner. So help me please.
Now I'm trying to control GAMS by MATLAB code "system"
The code is below.
system 'gams C:\Users\0000\Documents\gamsdir\projdir\0000.gms lo=3 gdx=Modeling_GtoM';
If I run this code, the GAMS file(000.gms) runs and the results is saved by GDX file which is named 'Modeling_GtoM'.
I wonder what " lo=3 " is means.
I try to find the meaning in Mathworks, but I cannot...
Please help me..^^! Thank you!!

Accepted Answer

Walter Roberson
Walter Roberson on 27 Sep 2021
lo=3 means all of the output of the executable is to be written to "standard output" (which allows it to be captured by MATLAB.)
This is not a MATLAB question; this is a question about GAMS.
  1 Comment
연승 김
연승 김 on 27 Sep 2021
Thank you very much!! I found it in the urls. Thank you so much. Have a nice day~!^^

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!