Event object
Store event information
Description
Events are used to describe sudden changes in model behavior. An event lets you specify discrete transitions in model component values that occur when a user-specified condition become true. You can specify that the event occurs at a particular time, or specify a time-independent condition.
For details on how events are handled during a simulation, see Events in SimBiology Models.
See Property Summary for links to event property reference pages.
Properties define the characteristics of an object. For example,
an event object includes properties that allow you to specify the
conditions to trigger an event (Trigger
), and what
to do after the event is triggered (EventFcn
).
Use the
and get
commands to list object
properties and change their values at the command line. You can graphically
change object properties in the SimBiology® desktop. set
Tip
If UnitConversion
is
on and your model has any event, follow the recommendation below.
Non-dimensionalize any parameters used in the event Trigger
if they are not already dimensionless. For example, suppose you have
a trigger x > 1
, where x is the species
concentration in mole/liter. Non-dimensionalize x by scaling (dividing)
it with a constant such as x/x0 > 1
, where x0 is a
parameter defined as 1.0 mole/liter. Note that x does not have to have
the same unit as the constant x0, but must be dimensionally consistent
with it. For example, the unit of x can be picomole/liter instead of
mole/liter.
Constructor Summary
addevent (model) | Add event object to model object |
Method Summary
copyobj | Copy SimBiology object and its children |
delete | Delete SimBiology object |
display | Display summary of SimBiology object |
get | Get SimBiology object properties |
rename | Rename object and update expressions |
set | Set SimBiology object properties |
Property Summary
Active | Indicate object in use during simulation |
EventFcns | Event expression |
Name | Specify name of object |
Notes | HTML text describing SimBiology object |
Parent | Indicate parent object |
Tag | Specify label for SimBiology object |
Trigger | Event trigger |
Type | Display SimBiology object type |
UserData | Specify data to associate with object |
See Also
AbstractKineticLaw object
, Configset object
, KineticLaw object
, Model object
, Parameter
object
, Reaction object
, Root object
, Rule
object
, Species object
Version History
Introduced in R2007b