Test the target boot process, the connection between the development and target computers, and the basic functionality of the Simulink® Real-Time™ software. Use this test under the following circumstances:
To validate your initial product installation.
As the first step in a troubleshooting procedure.
You must be using network boot mode for starting the target computer.
Create a network boot image and restart the target computer. See Network Boot Method.
In the current folder window, select a folder outside the MATLAB® root folder.
In the MATLAB Command Window, type slrttest
.
MATLAB executes the test script for the default target computer and displays messages indicating whether the test passed or failed.
### Simulink Real-Time Test Suite ### Host-Target interface is: TcpIp ### Test 1, Ping target computer 'TargetPC1' using system ping: ... OK ### Test 2, Ping target computer 'TargetPC1' using SLRTPINGTARGET: ... OK ### Test 3, Software reboot the target computer 'TargetPC1': ........... OK ### Test 4, Build and download a Simulink Real-Time application using model ... slrttestmdl to target computer 'TargetPC1': ... OK ### Test 5, Check host-target command communications with 'TargetPC1': ... OK ### Test 6, Download a pre-built Simulink Real-Time application to target ... computer 'TargetPC1': ... OK ### Test 7, Execute the Simulink Real-Time application for 0.2s: ... OK ### Test 8, Upload logged data and compare with simulation results: ... OK ### Test Suite successfully finished
Evaluate the results.
If the tests return OK
, you are
ready to build and download a real-time application to the target computer.
If one or more tests
return FAILED
, see Troubleshooting in Simulink Real-Time.
The next task is Application and Driver Scripts.