Main Content

Real-Time Application Instruments

Graphical instruments for displaying signal values, setting parameter values

Interface with a real-time application running on a target computer by adding an instrument to the model. Connect parameters and signals to the instrument by using instrument objects. Run your real-time application in MATLAB®. Use the instrument to control the parameters and view the signal outputs. See Add Instruments to Real-Time Application by Using Simulink Editor.

Apps

Simulink Real-TimeGenerate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer
Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time TET MonitorObserve task execution time for the real-time application running on target computer
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)
Simulink Real-Time Application Property InspectorView and modify application properties (Since R2023b)

Tools

Simulation Data InspectorInspect and compare data and simulation results to validate and iterate model designs

Objects

InstrumentCreate real-time instrument object
slrealtime.instrument.LineStyleCreate real-time instrument LineStyle object (Since R2022b)

Functions

expand all

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
slrtAppGeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)
slrtApplicationInspectorOpen Simulink Real-Time Application Property Inspector and view the application information, signals, parameters (Since R2023b)
getAllInstrumentsGet information on instruments added to target object (Since R2021b)
copyCopy the array of handle objects from one Instrument object to another (Since R2026a)
getQuery Instrument object properties (Since R2026a)
setAssign Instrument object property values (Since R2026a)
addFileLogSignalsFind signals connected to File Log blocks and add these to real-time instrument object (Since R2026a)
addForFileLogAdd an instrument to a target object for file logging (Since R2026a)
addForMATLABAdd an instrument to a target object for MATLAB data (Since R2026a)
addForSDIAdd an instrument to a target object for data in the Simulation Data Inspector (Since R2026a)
getAllForFileLogGet a list of instruments in a target object for file logging (Since R2026a)
getAllForMATLABGet a list of instruments in a target object for MATLAB data (Since R2026a)
getAllForSDIGet a list of instruments in a target object for data in the Simulation Data Inspector (Since R2026a)
removeAllForFileLogRemove the instruments from a target object that were for file logging (Since R2026a)
removeAllForMATLABRemove the instruments from a target object that were for MATLAB data (Since R2026a)
removeAllForSDIRemove the instruments from a target object that were for data in the Simulation Data Inspector (Since R2026a)
removeForFileLogRemove an instrument from a target object that was for file logging (Since R2026a)
removeForMATLABRemove an instrument from a target object that was for MATLAB data (Since R2026a)
removeForSDIRemove an instrument from a target object that was for data in the Simulation Data Inspector (Since R2026a)
viewOpen Instrument Viewer app (Since R2026a)

Topics

Featured Examples