Main Content

Trigger-Based Operating Point Snapshot

Generate operating points at triggered events

  • Trigger-Based Operating Point Snapshot block

Libraries:
Simulink Control Design / Utilities

Description

The Trigger-Based Operating Point Snapshot block takes snapshot operating points of a Simulink® model at triggered events indicated by the input trigger signal. For example, you can configure the block to take a snapshot whenever the trigger signal crosses zero while increasing.

You can then linearize your model at the operating points using the linearize function or the Model Linearizer app.

Examples

Ports

Input

expand all

Trigger control signal, specified as a scalar signal.

Parameters

expand all

Type of control signal that triggers the operating point snapshot.

  • rising — Trigger when the control signal crosses zero while increasing.

  • falling — Trigger when the control signal crosses zero while decreasing.

  • either — Trigger when the control signal crosses zero while either increasing or decreasing.

  • function-call: Trigger when the control signal receives a function-call event from a Stateflow® chart, a Function-Call Generator block, an S-Function block, or a Hit Crossing block.

Programmatic Use

Block Parameter: 'TriggerType'
Type: character vector
Values: 'rising''falling''either''function-call'
Default: 'rising'

Version History

Introduced before R2006a

expand all