pwSetFitSettings


 pwSetFitSettings(IDs, setting)

 Sets the global, local and fix fit setting for
 all parameters given as IDs for all selected couples.
 Refers only to the currently selected data set.

 

Arguments for pwSetFitSettings

 IDs       string array of xIDs, kIDs, and sIDs
 setting   string 'fix', 'global', or 'local'

 

Description

 Each initial value x0, dynamic parameter k, or scaling parameter s
 can be fixed ('fix') during parameter calibration or fitted
 experiment wise ('local') or fitted to the same value for all
 experiments ('global').

 Usually the fit setting is specified in the model definition file.
 This function allows to change the fit setting for a loaded model
 without using the graphical user interface "Couples | Fit settings".

 

Example

 % Fixing two initial values and two dynamic parameters:
 pwSetFitSettings({'A','B','kon', 'koff'}, 'fix');

See also

pwAddX
pwAddK
pwAddS
pwFit