Code: Select all
%model="m"
model {%model}
{%model}.merge eq_v1
{%model}.merge eq_v2
{%model}.append x=y+c
string test={%model}.@endoglist 'Lists all Endogeneous variables
While test lists all variables (v1, v2, x), I'm only interested in a string including v1 and v2.
Is there a way to access the equations in a model?