Main Content

Observer Reference

Create and contain an Observer model

  • Library:
  • Simulink Test

  • Observer Reference block


An Observer Reference block, which you add to the top level of your main Simulink® model, references a separate model called the Observer model. The Observer model and Observer Reference block enable wireless monitoring of the signals in the main model. The Observer model can contain blocks such as scopes or a verification subsystem to monitor or verify the observed signals, respectively. For an example of using Observers, see Access Model Data Wirelessly by Using Observers.


The Observer Reference block does not have inports or outports. Signals are mapped to the Observer Model through the Observer Port block.


expand all

Path to the Observer model. The file name must be a valid MATLAB® identifier. The extension, for example, .slx, is optional. You enter the Observer model name in the Observer Reference block parameters dialog box, which you access by right-clicking on the block and selecting Block Parameters. You can also open the model you specify from the dialog box.

Programmatic Use

Parameter: ObserverModelName
Type: character vector
Value: '' | '<observer model name>'
Default: ''

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2019a