Documentation

slrttest

Test Simulink Real-Time installation

Syntax

slrttest
slrttest noreboot
slrttest target_name,___

Description

example

slrttest is a confidence test that checks the following tasks:

  • Initiate communication between the development and target computers.

  • Restart the target computer and reset the real-time environment.

  • Build a real-time application on the development computer.

  • Download a real-time application to the target computer.

  • Check communication between the development and target computers using commands.

  • Execute a real-time application.

  • Compare the results of a simulation and the real-time application run.

example

slrttest noreboot skips the restart test on the default target computer. Use this option if the target computer does not support software restart.

example

slrttest target_name,___ executes the tests on the target computer identified by target_name.

Examples

collapse all

Target computer must be running and physically connected to the development computer.

slrttest
### 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

Target computer must be running and physically connected to the development computer.

slrttest noreboot

Target computer must be running and physically connected to the development computer.

slrttest 'TargetPC1' noreboot

Input Arguments

collapse all

The target name character vector is case-sensitive.

Example: 'TargetPC1'

Introduced in R2014a

Was this topic helpful?