Add compartment to PKModelDesign object
PKCompartmentObj = addCompartment(PKModelDesignObj, CompObjName, Name, Value)
PKCompartmentObj = addCompartment(PKModelDesignObj, CompObjName, Name, Value) constructs a PK compartment with the specified name, and with additional options specified by one or more Name,Value pair arguments.
|PKModelDesignObj||PKModelDesign object to which you want to add a compartment|
|CompObjName||Name of the PKCompartment object that is constructed|
Optional comma-separated pairs of Name, Value arguments, where Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (''). You can specify several name-value pair arguments in any order as Name1,Value1,…,NameN,ValueN.
String specifying the mechanism for drug absorption. Choices are:
For more information, see Dosing Types.
String specifying the mechanism for drug elimination. Choices are:
For more information, see Elimination Types.
Logical indicating if the drug concentration in this compartment is reported. Multiple compartments in a model can have this property set to true. Default is false.
Logical indicating if any dose targeting this compartment have a lag associated with them. Default is false.
These optional name-value pair arguments set the corresponding property of the PKCompartment object. You can also set these properties after creating the PKCompartment object by using the following syntax:
PKCompartmentObj.PropertyName = Value
PKCompartmentObj.DosingType = 'Bolus'
|DosingType||Drug dosing type in compartment|
|EliminationType||Drug elimination type from compartment|
|HasLag||Lag associated with dose targeting compartment|
|HasResponseVariable||Compartment drug concentration reported|
|Name||Specify name of object|