addCompartment (PKModelDesign)
Add compartment to PKModelDesign object
Syntax
PKCompartmentObj =
addCompartment(PKModelDesignObj, CompObjName)
PKCompartmentObj =
addCompartment(PKModelDesignObj, CompObjName, Name, Value)
Description
constructs
a PK compartment with the specified name and adds it to PKCompartmentObj =
addCompartment(PKModelDesignObj, CompObjName)PKModelDesignObj,
a PKModelDesign object.
constructs
a PK compartment with the specified name, and with additional options
specified by one or more PKCompartmentObj =
addCompartment(PKModelDesignObj, CompObjName, Name, Value)Name,Value pair arguments.
Input Arguments
PKModelDesignObj | PKModelDesign object to
which you want to add a compartment |
CompObjName | Name of the PKCompartment object that is constructed, specified as a
character vector or string. |
Name-Value Arguments
Output Arguments
PKCompartmentObj | PKCompartment
object |
Method Summary
| delete | Delete SimBiology object |
| display | Display summary of SimBiology object |
| get | Get SimBiology object properties |
| set | Set SimBiology object properties |
Property Summary
| DosingType | Drug dosing type in compartment |
See Also
Create a Pharmacokinetic Model Using the Command Line, HasLag, HasResponseVariable, PKCompartment object, PKModelDesign object
Version History
Introduced in R2009a