Main Content

setStopTime

Configure stop time for real-time application

Since R2020b

Description

setStopTime(target_object,stopTime) configures the stop time value for the real-time application that is loaded on the Speedgoat® target computer. This value replaces the stop time value from the model that built the application.

example

Examples

collapse all

Create the target object. Load the real-time application on the target computer. Configure the stop time for the real-time application.

tg = slrealtime('TargetPC1');
load(tg,'slrt_ex_osc')
setStopTime(tg,10);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Selects the stop time value in seconds for the real-time application. This value is a real-time application option and is retained on the target computer.

Example: 10

Version History

Introduced in R2020b