Documentation

SimulinkRealTime.Application.updateRootLevelInportData

Replace external input data in a real-time application with new input data

Syntax

updateRootLevelInportData(app_object)

Description

example

updateRootLevelInportData(app_object) updates

Examples

collapse all

Create an application object for real-time application ex_slrt_inport_osc. Use it to update inport data.

Change inport waveform data from a square wave to sine wave.

waveform = sinewave;

Create an application object.

app_object = SimulinkRealTime.Application('ex_slrt_inport_osc');

Update inport data.

updateRootLevelInportData(app_object)

Download the updated inport data.

tg = slrt;
load(tg, 'ex_slrt_inport_osc');

Input Arguments

collapse all

Provides access to methods that manipulate the real-time application files.

Introduced in R2017a

Was this topic helpful?