ADMIT documentation: ADMITproject

ADMITproject

ADMITproject creates an ADMITproject.

OPT = ADMITproject()
OPT = ADMITproject(FILENAME)
OPT = ADMITproject(OPTIN,['sort'])

Creates an empty ADMITproject object (no input arguments), or loads it 
from file FILENAME. 

Notes

If input is already an ADMITproject, then the output is copied to
the output. If additionally 'sort' is used, then the variables, 
constraints, and time-sets are sorted and returned.

Syntax description for opt-files is found 
in ./examples/OPTFILE_TEMPLATE.opt

Inputs
  FILENAME : filename; must contain extension '.opt'
  OPTIN    : valid ADMITproject

Returns
  OPT : ADMITproject object

Properties

Use the "set" and "get" functions to modify and retrieve properties of the
ADMITproject object.

"name"         : name
"notes"        : notes or other comments related to the project
"variables"    : variables (ADMITvariable objects)
"timePointSets : time point sets 
"bounds"       : bounds (ADMITconstraint objects)
"constraints"  : constraints (ADMITconstraint objects)

Examples

% Create empty ADMITproject:
opt = ADMITproject();
% Load existing ADMITproject from file:
opt = ADMITproject('./examples/MichaelisMenten/MichaelisMenten.opt');
% Now sort it, which can be convienent for large systems.
opt = ADMITproject(opt,'sort')