$Title Calling GAMS model from Matlab $ontext This program is mainly a placeholder for the files: do_qp.m, qp.gms Intended use: interactive Matlab session Contributor: Steve Dirkse $offtext $log $log Running Matlab program do_qp.m solves a Quadratic programming(QP) problem. $log You can run the driver below interactively from Matlab: $log >> do_qp $log *call Matlab $set WHICH which $if not %system.filesys% == UNIX $set WHICH where $call %WHICH% matlab $ifThen errorLevel 1 $clearError $abort.noerror 'Matlab is not available!'; $else $call.Async matlab -r "cd %GAMS.cdir%;do_qp" -nosplash -nodisplay $endIf