getdose (model)
Return SimBiology dose object
Syntax
doseObj
=
getdose(modelObj
)
doseObj
=
getdose(modelObj, 'DoseName'
)
Arguments
modelObj | Selects a model object that
contains a dose object. |
DoseName | Name of a dose object contained in a model object. is
from the dose object property, Name . |
Outputs
doseObj | ScheduleDose or RepeatDose object
retrieved from a model object. A RepeatDose or ScheduleDose object
defines an increase (dose) to a species amount during a simulation. |
Description
returns
a Simbiology dose object (doseObj
=
getdose(modelObj
)doseObj
)
contained in a Simbiology model object (modelObj
).
returns
a SimBiology® dose object (doseObj
=
getdose(modelObj, 'DoseName'
)modelObj
)
with the name
.DoseName
Examples
Get a dose object from a model object.
Create a model object, and then add a dose object to the model object.
modelObj = sbiomodel('mymodel'); dose1Obj = adddose(modelObj, 'dose1');
Get the
dose
object from a model object.myModelDose = getdose(modelObj);
See Also
SimBiology.Model
methods:
adddose
— add a dose object to a model objectgetdose
— get dose information from a model objectremovedose
— remove a dose object from a model object
Dose object constructor sbiodose
.
SimBiology.ScheduleDose
and SimBiology.RepeatDose
methods:
Version History
Introduced in R2012b