Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

sbiosetdosingprofile - Add objects to model for dosing

Syntax

modModelObj = sbiosetdosingprofile(modelObj, DoseVariable, DosingTable, DosingType)

Arguments

modModelObjModified model object containing dosing information, returned by sbiosetdoingprofile.
modelObjSimBiology model object to which you want to add dosing information.
DoseVariableName of a species or parameter object in modelObject. sbiosetdosingprofile adds events that change the amount or value of the DoseVariable as defined by the DosingTable and DosingType.
DosingTable An nx2 matrix with the first column defining the time of the dose and the second column defining the dose amount. If DosingType is 'Infusion', then DosingTable must be nx3 with a third column that defines the rate of infusion.
DosingTypeSpecifies the mechanism for drug dosing. Valid options are 'Bolus', 'Infusion', 'ZeroOrder', 'FirstOrder' and ''. For more information on DosingType see About Dosing Types in the SimBiology User's Guide.

Description

modModelObj = sbiosetdosingprofile(modelObj, DoseVariable, DosingTable, DosingType) adds SimBiology event and rule objects to the model object modelObj to perform the dosing as specified by DoseVariable, DosingTable, and DosingType and returns the modified model object, modModelObj.

While SimBiology performs dimensional checks and unit conversions for components in a model, it does not handle units for quantities in DosingTable. For more information about units in DosingTable, see Unit Conversion for Imported Data and the Model in the SimBiology User's Guide.

To facilitate the removal of the modified components from the model object, sbiosetdosingprofile adds the keyword 'DOSE_COMPONENT' to the Tag property for the events and the associated parameters added to the model object, modelObject.

To remove the modified components from the modified model object, modModelObject, use delete(sbioselect(modModelObject, 'Tag', 'DOSE_COMPONENT'));.

Model Components Added by sbiosetdosingprofile

sbiosetdosingprofile adds the following model components based on the dosing type you selected.

In the parameter names below, the suffix '_n' denotes a numeric suffix that gives each parameter a unique name. The first dosing parameter is named with the suffix '_1', the second with '_2', and so on.

For all dosing types sbiosetdosingprofile adds a parameter, DosingGroupID that causes dosing rules and events to be evaluated only when the parameter value is 1.

Bolus:

Infusion:

Zero-order:

First-order:

See Also

Simulating a Model Containing Dosing Information in the SimBiology User's Guide, Event object, Model object

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS