Store event information
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.
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
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.
addevent (model) | Add event object to model 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 |
set (any object) | Set object properties |
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 |
AbstractKineticLaw object
, Configset object
, KineticLaw object
, Model object
, Parameter
object
, Reaction object
, Root object
, Rule
object
, Species object