Documentation

xpctargetping

Tests communication between development and target computers (not recommended)

Syntax

  • xpctargetping target_computer_name
    example

Description

Returns success if the Simulink® Real-Time™ kernel is loaded and running, and communication is working between the development and target computers. Otherwise, returns failed.

example

xpctargetping without an argument returns success if the development computer and the default target computer can communicate using the settings for that computer. Otherwise, returns failed.

example

xpctargetping target_computer_name returns success if the development computer can communicate with target computer target_computer_name using the settings for that computer. Otherwise, returns failed.

Input Arguments

collapse all

target_computer_name — Name of specific target computerTargetPC1 | TargetPC2 | ...

Name property of a particular target computer environment object. The default name is TargetPC1.

When using function form, enclose the argument (target_computer_name, ) in single quotes ('TargetPC1').

Example: TargetPC1

Data Types: char

Introduced before R2006a

Was this topic helpful?