Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

SimStatusChange

Respond to a pause or resumption of the simulation of the model that contains this MATLAB S-function

Required

No

Languages

MATLAB

Syntax

SimStatusChange(s, status)

Arguments

s

Instance of Simulink.MSFcnRunTimeBlock class representing the Level-2 MATLAB S-Function block.

status

Status of the simulation, either 0 when paused or 1 when continued.

Description

The Simulink® engine calls this routine when a simulation of the model containing S pauses or resumes. This method is only valid for simulation.

Introduced in R2012b

Was this topic helpful?