Contenuto principale

Target Computer Setup

Target computer configuration with Simulink® Real-Time™ Explorer or MATLAB® language

To run a real-time application on a target computer, first configure your target computer with the required I/O modules and Ethernet ports. Physically connect it to the development computer with a TCP/IP Ethernet link. Configure the Simulink Real-Time target settings with Simulink Real-Time Explorer or MATLAB language. Finally, build and download the real-time application to the target computer.

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)

Tools

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

Objects

TargetRepresent real-time application and target computer status
InstrumentCreate real-time instrument object
slrealtime.instrument.LineStyleCreate real-time instrument LineStyle object (Since R2022b)

Properties

Target Object Propertiesslrealtime Target object properties for configuration and status

Functions

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtLogViewerOpen the Simulink Real-Time System Log Viewer tab in the Simulink Real-Time Explorer to view the console log from the target computer
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)
slrealtimeInterface for managing target computer
addTargetAdd target computer definition to targets object
removeTargetRemove target computer definition from targets object
getTargetSettingsGet target computer environment settings
getDefaultTargetNameGet default target computer name
getTargetTimeGet target computer date and time (Since R2025a)
getTargetTimezoneGet target computer time zone information (Since R2025a)
setDefaultTargetNameSet default target computer name
setTargetTimeSet target computer date and time (Since R2025a)
setTargetTimezoneSet target computer time zone preference (Since R2025a)
isConnectedGet target computer connected status (Since R2021b)
isLoadedGet real-time application loaded status (Since R2021b)
isRunningGet real-time application running status (Since R2021b)
resetReset target object (Since R2021b)

Topics

1. Target Computer Setup

  • Target Computer Settings
    Configure the Simulink Real-Time environment as required by the target computer. Speedgoat® target machines support PCI bus Ethernet cards.

2. Target Computer Boot Configuration

  • Real-Time Application and Target Computer Modes
    Run real-time applications by using the target computer in connected mode, standalone mode, or external mode. Speedgoat target machines boot the QNX® Neutrino® RTOS and then you run real-time applications in the selected target computer mode.

3. Installation Test

Configuration and Control Alternatives

Troubleshooting

Troubleshooting in Simulink Real-Time

Troubleshoot problems that you encounter while using the Simulink Real-Time product