Class amievent

Class Documentation

class amievent

AMIEVENT defines events which later on will be transformed into appropriate C code.

Public Functions

amievent::amievent(matlabtypesubstitute trigger, matlabtypesubstitute bolus, matlabtypesubstitute z)

amievent constructs an amievent object from the provided input.

Parameters
  • trigger: trigger function, the event will be triggered on at all roots of this function

  • bolus: the bolus that will be added to all states on every occurence of the event

  • z: the event output that will be reported on every occurence of the event

mlhsInnerSubst<::amievent > amievent::setHflag(matlabtypesubstitute hflag)

setHflag sets the hflag property.

Parameters
  • hflag: value for the hflag property, type double

Return Value
  • this: updated event definition object

Public Members

::symbolic trigger = sym.empty("")

the trigger function activates the event on every zero crossing

Note

This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public

Note

Matlab documentation of property attributes. Default: sym.empty(“”)

::symbolic bolus = sym.empty("")

the bolus function defines the change in states that is applied on every event occurence

Note

This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public

Note

Matlab documentation of property attributes. Default: sym.empty(“”)

::symbolic z = sym.empty("")

output function for the event

Note

This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public

Note

Matlab documentation of property attributes. Default: sym.empty(“”)

matlabtypesubstitute hflag = logical.empty("")

flag indicating that a heaviside function is present, this helps to speed up symbolic computations

Note

This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public

Note

Matlab documentation of property attributes. Default: logical.empty(“”)