DocumentationHelp Center
Replace external input data in real-time application with input data
updateRootLevelInportData(app_object)
example
updateRootLevelInportData(app_object) replaces external input data in a real-time application with new input data.
app_object
collapse all
Create an application object for real-time application slrt_ex_osc_inport. Use it to update the inport data.
slrt_ex_osc_inport
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');
Provides access to methods that manipulate the real-time application files.
Application | Target
Application
Target
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now