Target Computer Setup
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-Time | Generate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer (Since R2020b) |
Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer (Since R2020b) |
Simulink Real-Time TET Monitor | Observe task execution time for the real-time application running on target computer (Since R2020b) |
Simulink Real-Time App Generator | Generate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a) |
Tools
Simulation Data Inspector | Inspect and compare data and simulation results to validate and iterate model designs |
Objects
Target | Represent real-time application and target computer status (Since R2020b) |
Instrument | Create real-time instrument object (Since R2020b) |
slrealtime.instrument.LineStyle | Create real-time instrument LineStyle object (Since R2022b) |
Properties
Target Object Properties | slrealtime Target object properties for configuration and status (Since R2020b) |
Functions
slrtExplorer | Open Simulink Real-Time explorer and interact with target computers and real-time applications (Since R2020b) |
slrtLogViewer | Open the Simulink Real-Time System Log Viewer tab in the Simulink Real-Time Explorer to view the console log from the target computer (Since R2020b) |
slrtTETMonitor | Open Simulink Real-Time task execution time (TET) monitor (Since R2020b) |
slrtAppGenerator | Generate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a) |
slrealtime | Interface for managing target computer (Since R2020b) |
addTarget | Add target computer definition to targets object (Since R2020b) |
removeTarget | Remove target computer definition from targets object (Since R2020b) |
getTargetSettings | Get target computer environment settings (Since R2020b) |
getDefaultTargetName | Get default target computer name (Since R2020b) |
setDefaultTargetName | Set default target computer name (Since R2020b) |
isConnected | Get target computer connected status (Since R2021b) |
isLoaded | Get real-time application loaded status (Since R2021b) |
isRunning | Get real-time application running status (Since R2021b) |
reset | Reset 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
- Application and Driver Scripts
Examine models and scripts that illustrate Simulink Real-Time features.
Configuration and Control Alternatives
- Configure and Control Target Computer
Configuring and controlling Simulink Real-Time interactively and by writing scripts and programs.
Troubleshooting
Troubleshooting in Simulink Real-Time
Troubleshoot problems that you encounter while using the Simulink Real-Time product