Represent application files on development computer


Object represents application files on the development computer. You can create it only after the real-time application has been built.

Object provides access to a method that updates external input data for root-level Inport blocks.


expand all

This property is read-only.

Name of real-time application created when application was built.

When 'on', this parameter requires that the real-time application uses the RAM disk (ERAM) for data logging, even when the target computer has a hard drive.

The change takes effect on subsequent downloads of the real-time application. If you rebuild the real-time application, the setting is lost. To make the setting permanent, set the model parameter in the Command Window:

set_param(model_name, 'UseERAMForLogging", 'on')

The model parameter is hidden.

You can assign arbitrary vector data to the UserData field. You can access this data only from the development computer.

Example: {'This string', 10}

Object Functions

SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data


expand all

Waveform data was originally a square wave. Change it to a sine wave.

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.


Download the updated inport data.

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

Introduced in R2017a

Was this topic helpful?