Main Content


Model and component information


The SimBiology® model object represents a model, which is a collection of interrelated reactions and rules that transform, transport, and bind species. The model includes model components such as compartments, reactions, parameters, rules, and events. Each of the components is represented as a property of the model object. A model object also has a default configuration set object to define simulation settings. You can also add more configuration set objects to a model object.

See Property Summary for links to model property reference pages.

Properties define the characteristics of an object. Use the get and set commands to list object properties and change their values at the command line. You can graphically change object properties in the SimBiology desktop.

You can retrieve SimBiology model objects from the SimBiology root object. A SimBiology model object has its Parent property set to the SimBiology root object. The root object contains a list of model objects that are accessible from the MATLAB® command line and from the SimBiology desktop. Because both the command line and the desktop point to the same model object in the Root object, any changes you make to the model at the command line are reflected in the desktop, and vice versa.

Constructor Summary

sbiomodelConstruct model object

Method Summary

addcompartmentCreate compartment object and add to model or compartment
addconfigset (model)Create configuration set object and add to model object
adddoseAdd dose object to model
addevent (model)Add event object to model object
addobservableAdd observable object to SimBiology model
addparameterCreate parameter object and add to model or kinetic law object
addreactionCreate reaction object and add to model
addruleAdd rule object to model
addspeciesCreate species object and add to model or compartment
addvariant (model)Add variant to model
copyobjCopy SimBiology object and its children
createSimFunction (model)Create SimFunction object
deleteDelete SimBiology object
displayDisplay summary of SimBiology object
export (model)Export SimBiology models for deployment and standalone applications
findUnusedComponents (model)Find unused species, parameters, and compartments in a model
generateCodeGenerate MATLAB function to recreate SimBiology model
getGet SimBiology object properties
getadjacencymatrix (model)Get adjacency matrix from model object
getconfigset (model)Get configuration set object from model object
getdose (model)Return SimBiology dose object
getequationsReturn system of equations for model object
getstoichmatrix (model)Get stoichiometry matrix from model object
getvariant (model)Get variant from model
removeconfigset (model)Remove configuration set from model
removedose (model)Remove dose object from model
removevariant (model)Remove variant from model
renameRename SimBiology model component and update expressions
reorder (model, compartment, kinetic law)Reorder component lists
setSet SimBiology object properties
setactiveconfigset (model)Set active configuration set for model object
verify (model, variant)Validate and verify SimBiology model

Property Summary

CompartmentsArray of compartments in model or compartment
EventsContain all event objects
NameSpecify name of object
NotesHTML text describing SimBiology object
ObservablesArray of observable objects
ParametersArray of parameter objects
ParentIndicate parent object
ReactionsArray of reaction objects
RulesArray of rules in model object
TagSpecify label for SimBiology object
TypeDisplay SimBiology object type
UserDataSpecify data to associate with object

Version History

Introduced in R2006b