Systems Theory and Automatic Control

ADMITtime
ADMIT documentation: ADMITtime

ADMITtime

ADMITtime creates a ADMITtime object

TIME = ADMITtime(STR)
TIME = ADMITtime(STR,varargin)

Parses the string STR and generates a ADMITtime object from it.
Syntax description is also found in "./examples/OPTFILE_TEMPLATE.opt".

If additional arguments are provided, then this is equivalent to 
CON = ADMITtime(sprintf(STR,varargin))

In principle you can provide any string satisfying the syntax.

Syntax

General syntax is:
 TIMEID := TIMEPOINT1
or
 TIMEID := {TIMEPOINT1, TIMEPOINT2, ... }

Notes

 - TIME is the name for the time-point and it must always start with "t_"
 - forbidden names are "t" or "t_ALL"
 - TIMEID1, TIMEID2, ...  must be a number

Examples

The following examples show how to define time-point sets. You can use any
one of the strings below and pass it to ADMITtime, e.g.
 ADMITtime('t_sim := {1,2,3,4}')

You can add an ADMITtime to an ADMITproject by using the "+"-operator:
 opt = ADMITproject();
 opt = opt + ADMITtime('t_sim := {1,2,3,4}')

Defining time-points-sets

  t_sim := {1,2,3,4}
  t_sim := {1:4}
  t_0   := 0