Main Content


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



updateRootLevelInportData(app_object) replaces external input data in a real-time application with new input data.


collapse all

Create an application object for real-time application slrt_ex_osc_inport. Use it to update the inport data. For a more detailed example, see Define and Update Inport Data.

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

waveform = sinewave;

Create an application object.

app_object = slrealtime.Application('slrt_ex_slrt_osc_inport');

Update inport data.


Download the updated inport data to the default target computer.

tg = slrealtime('TargetPC1');
load(tg, 'slrt_ex_osc_inport');

Input Arguments

collapse all

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

Version History

Introduced in R2020b