pwAddObservations


 pwAddObservations(filename)

 Adds an observation to the currently selected models.

 The observation file is constructed as a Matlab function and contains
 a list of observation functions defined similarly as in a model definition
 file.

 

Example

 function y = getObservations()

 y        = pwGetY('Stat');
 y(end+1) = pwGetY('pStat + 2 * pStat_pStat', 'total_pStat');
 y(end+1) = pwGetY('Stat + pStat + 2 * pStat_pStat', 'total_Stat');

See also

pwAddDynamicalParameters
pwAddStartValues
pwAddInstructions