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.
Tools
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 |
Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer |
Simulink Real-Time TET Monitor | Monitor task execution time for the real-time application running on target computer |
Simulink Real-Time App Generator | Generate instrument panel app to interact with target computer and real-time application running on target computer |
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 |
Instrument | Create real-time instrument object |
slrealtime.instrument.LineStyle | Create real-time instrument LineStyle object |
Functions
slrtExplorer | Open Simulink Real-Time explorer and interact with target computers and real-time applications |
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 |
slrtTETMonitor | Open Simulink Real-Time task execution time (TET) monitor |
slrtAppGenerator | Generate instrument panel app to interact with target computer and real-time application running on target computer |
slrealtime | Interface for managing target computer |
addTarget | Add target computer definition to targets object |
removeTarget | Remove target computer definition from targets object |
getTargetSettings | Get target computer environment settings |
getDefaultTargetName | Get default target computer name |
setDefaultTargetName | Set default target computer name |
isConnected | Get target computer connected status |
isLoaded | Get real-time application loaded status |
isRunning | Get real-time application running status |
reset | Reset target object |
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