Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

Method Reference


ObjectsSimBiology objects
Abstract Kinetic LawsWork with abstract kinetic law objects
CompartmentsWork with compartment objects
Configuration SetsWork with configuration set objects
EventsWork with event objects
Kinetic LawsCreate parameter objects and work with kinetic law objects
ModelsCreate SimBiology objects and work with model objects
ParametersWork with parameter objects
Pharmacokinetic ModelingCreate SimBiology objects
ReactionsCreate kinetic law and species objects and work with reaction objects
RootWork with the root object
RulesWork with rule objects
SimDataMethods for SimData objects
SpeciesMethods for species objects
Units and Unit PrefixesMethods for unit and prefix objects
VariantsMethods for variant objects
Using Object Methods Command-line syntax for using methods with SimBiology objects

Objects

AbstractKineticLaw objectKinetic law information in library
Compartment objectOptions for compartments
Configset objectSolver settings information for model simulation
Event objectStore event information
KineticLaw objectKinetic law information for reaction
Model objectModel and component information
Parameter objectParameter and scope information
PKCompartment objectUsed by PKModelDesign to create SimBiology model
PKData objectDefine roles of data set columns
PKModelDesign objectHelper object to construct pharmacokinetic model
PKModelMap objectDefine SimBiology model components roles
Reaction objectOptions for model reactions
Root objectHold models, unit libraries, and abstract kinetic law libraries
Rule objectHold rule for species and parameters
SimData objectSimulation data storage
Species objectOptions for compartment species
Unit objectHold information about user-defined unit
UnitPrefix objectHold information about user-defined unit prefix
Variant objectStore alternate component values

Abstract Kinetic Laws

delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
set (any object)Set object properties

Compartments

addcompartment (model, compartment)Create compartment object
addspecies (compartment)Create species object and add to compartment object
copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
rename (compartment, parameter, species)Rename object and update expressions
reorder (model, compartment)Reorder component lists
set (any object)Set object properties

Configuration Sets

copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
set (any object)Set object properties

Events

copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
set (any object)Set object properties

Kinetic Laws

addparameter (model, kineticlaw)Create parameter object and add to model or kinetic law object
copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
getparameters (kineticlaw)Get specific parameters in kinetic law object
getspecies (kineticlaw)Get specific species in kinetic law object
set (any object)Set object properties
setparameter (kineticlaw)Specify specific parameters in kinetic law object
setspecies (kineticlaw)Specify species in kinetic law object

Models

addcompartment (model, compartment)Create compartment object
addconfigset (model)Create configuration set object and add to model object
addevent (model)Add event object to model object
addparameter (model, kineticlaw)Create parameter object and add to model or kinetic law object
addreaction (model)Create reaction object and add to model object
addrule (model)Create rule object and add to model object
addvariant (model)Add variant to model
copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
getadjacencymatrix (model)Get adjacency matrix from model object
getconfigset (model)Get configuration set object from model object
getstoichmatrix (model)Get stoichiometry matrix from model object
getvariant (model)Get variant from model
removeconfigset (model)Remove configuration set from model
removevariant (model)Remove variant from model
reorder (model, compartment)Reorder component lists
set (any object)Set object properties
setactiveconfigset (model)Set active configuration set for model object
verify (model, variant)Validate and verify SimBiology model

Parameters

copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
rename (compartment, parameter, species)Rename object and update expressions
set (any object)Set object properties

Pharmacokinetic Modeling

addCompartment (PKModelDesign)Add compartment to PKModelDesign object
construct (PKModelDesign)Construct SimBiology model from PKModelDesign object
get (any object)Get object properties
PKCompartment objectUsed by PKModelDesign to create SimBiology model
PKData objectDefine roles of data set columns
PKModelDesign objectHelper object to construct pharmacokinetic model
PKModelMap objectDefine SimBiology model components roles
set (any object)Set object properties

Reactions

addkineticlaw (reaction)Create kinetic law object and add to reaction object
addproduct (reaction)Add product species object to reaction object
addreactant (reaction)Add species object as reactant to reaction object
copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
rmproduct (reaction)Remove species object from reaction object products
rmreactant (reaction)Remove species object from reaction object reactants
set (any object)Set object properties

Root

copyobj (any object)Copy SimBiology object and its children
get (any object)Get object properties
reset (root)Delete all model objects from root object
set (any object)Set object properties

Rules

copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
set (any object)Set object properties

SimData

delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
getdata (SimData)Get data from SimData object array
getsensmatrix (SimData)Get 3-D sensitivity matrix from SimData array
resample (SimData)Resample SimData object array onto new time vector
select (SimData)Select data from SimData object
selectbyname (SimData)Select data by name from SimData object array
set (any object)Set object properties

Species

copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
rename (compartment, parameter, species)Rename object and update expressions
set (any object)Set object properties

Units and Unit Prefixes

delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
set (any object)Set object properties

Variants

addcontent (variant)Append content to variant object
commit (variant)Commit variant contents to model
copyobj (any object)Copy SimBiology object and its children
delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
rmcontent (variant)Remove contents from variant object
set (any object)Set object properties
verify (model, variant)Validate and verify SimBiology model

Using Object Methods

Command-line syntax for using methods with SimBiology objects

Constructing (Creating) Objects
Using Object Methods
Help for Objects, Methods, and Properties

Constructing (Creating) Objects

Create an object that is not referenced by a model using the constructor functions sbioabstractkineticlaw, sbiomodel, sbioparameter, sbioreaction, sbioroot, sbiorule, and sbiospecies.

ObjectName = ConstructorFunction(RequiredParameters,...
                                 'PropertyName',  PropertyValue')

To create objects referenced by a model, use the model object methods addconfigset, addmodel, addparameter, addreaction, addrule, and addspecies.

ObjectName = ModelName.Method(Arguments)

To create objects referenced by a reaction, use the reaction object methods addkineticlaw, addparameter, addproduct, and addreactant.

ObjectName = ReactionName.Method(Arguments)

Note that ObjectName is not a copy of the object, but a pointer to the created object.

Using Object Methods

Using MATLAB function notation:

MethodName(ObjectName, arguments, ...)

Using object dot notation:

ObjectName.MethodName(arguments, ...)

Help for Objects, Methods, and Properties

Display information for SimBiology object methods and properties in the MATLAB Command Window.

help sbioDisplay a list of functions and methods.
help FunctionNameDisplay function information.
sbiohelp('MethodName')Display method information.
sbiohelp('PropertyName')Display property information.

  


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