Thank you for your links.
First of all, I have access only to one variable as output.
In the following:
$set matout1 "‘mytest.gdx’, x ";
If I add more variables, it did not show me.
Secondly, when I want to change a variable in Gams program, I can not change it through Matlab commands. Here is the command:
m = struct(‘name’,‘m’,‘val’,‘-30’);
gamso.output = ‘Std’;
= gams(‘mytest’,m);
Is it possible to fix the value of a variable through Matlab command?
Thank you in advance.
Regards
Freshteh
On Wed, Jun 22, 2011 at 11:11 PM, Michael Ferris wrote:
This is facilitated by the Matlab/GAMS link that is now distributed as part of the GAMS system.
Information on how to use can be found at: http://www.cs.wisc.edu/math-prog/matlab.html
On Jun 22, 2011, at 10:48 AM, akram avami wrote:
Dear all,
I want to run gams from Matlab.
I managed to run it. But I need to change a few parameters for each run from Matlab.
Can anybody help me?
Regards
Freshteh
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.