$TITLE test the Matlab mex-file gams (TESTINST,SEQ=488) $ondollar $ontext Dump some data to test the gams() mex-file. Contributor: Steve $offtext $if not set m $set m 2 $if not set n $set n 3 $set matout "'matsol.gdx', Q, J, A " set i /1*%m%/, j /1*%n%/; alias (j1,j); parameter Q(j,j1) / 1.1 1 2.2 1 3.3 1 /, A(i,j) / 1.1 1 1.2 1 1.3 1 2.1 -1 2.3 1 /, b(i) / 1 1 2 1 / c(j) / 1 2 /; $if exist matdata.gms $include matdata.gms execute_unload %matout%