sltest.observer.observeElement
Syntax
Description
[
observes the specified activity of the Stateflow state, obsport
,obsmodel
] = sltest.observer.observeElement("SFStateActivity",path
,stateobj
,activity
)stateobj
, in the Stateflow chart specify by its
path
by creating an Observer model, adding an Observer Port block to
the model, and setting the block to observe the object. state activity. The state must be at
the top level of the Stateflow chart.
[
observes the Functional Mockup Unit (FMU) internal variable, obsport
,obsmodel
] = sltest.observer.observeElement("FMUInternalVariable",path
,fmuvar
)fmuvar
, in
the FMU specified by its path by creating an Observer model, adding an Observer Port block
to the model, and setting the block to observe the variable.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024b
See Also
sltest.observer.addObserverReference
| sltest.observer.addObserverPort
| sltest.observer.configureObserverPort
| sltest.observer.setObserverModel
| sltest.observer.getObservedModel
| sltest.observer.getObserverPorts
| sltest.observer.getObserverMapping
| sltest.observer.moveToObserver
| sltest.observer.promoteObserver