EndSimulation
This block sets the time for a simulation to end.
![]()
Library
Activate/ActivationOperations
Description
This block sets the time for a simulation to end. If the simulation has not ended by the time specified in the block, the block ends the simulation by forcing the current time to jump to the final simulation time of the model.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
tf | Simulation end time | Simulation end time. | Scalar |
Advanced Properties
| Name | Value | Description |
|---|---|---|
always active | no | |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |
