Main Content
adddose
Add dose object to model
Syntax
Description
creates a outDose
= adddose(modelObj
,doseName
)SimBiology.RepeatDose
object
outDose
, assigns doseName
to the dose property
Name
, adds the dose object to the SimBiology® model object modelObj
, and assigns
modelObj
to the dose property Parent
. To apply
the dose in your simulation, set the Active
property of
outDose
to true
.
Note
Alternatively, you can create a dose object using sbiodose
as a standalone dose object, which you can apply to different
models. For details, see Creating Doses Programmatically.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010aSee Also
SimBiology.RepeatDose
| SimBiology.ScheduleDose
| model object
| getdose
| removedose
| sbiodose