Description
This program is mainly a placeholder for the files: gdxmrw_qp2.gms (GAMS program) gdxmrw_qp2_run.m (Matlab program) See gdxmrw_qp2.gms for more information. Intended use: interactive Matlab session Contributor: Steve
Category : GAMS Data Utilities library
Main file : gdxmrw_qp2_starter.gms includes : gdxmrw_qp2_starter.gms gdxmrw_qp2.gms gdxmrw_qp2_run.m
$Title Portfolio Analysis with Matlab & GAMS (starter)
$ontext
This program is mainly a placeholder for the files:
gdxmrw_qp2.gms (GAMS program)
gdxmrw_qp2_run.m (Matlab program)
See gdxmrw_qp2.gms for more information.
Intended use: interactive Matlab session
Contributor: Steve
$offtext
$log
$log You can run the driver interactively from Matlab:
$log >> gdxmrw_qp2_run
$log >>
$log
*Run Matlab program gdxmrw_qp2_run.m
$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%;gdxmrw_qp2_run" -nosplash -nodisplay
$endIf