Documentation

SimulinkRealTime.pingTarget

Test communication between development and target computers

Syntax

SimulinkRealTime.pingTarget
SimulinkRealTime.pingTarget(target_computer_name)

Description

example

SimulinkRealTime.pingTarget without an argument returns success when the development computer and the default target computer can communicate using the settings for the default computer. Otherwise, it returns failed. If a communication channel is open between the development and target computers, the function leaves it open.

example

SimulinkRealTime.pingTarget(target_computer_name) returns success if the development computer can communicate with target computer target_computer_name using the settings for target computer target_computer_name. Otherwise, returns failed. If a communication channel is open between the development and target computers, the function leaves it open.

Enclose the argument in single quotes ('TargetPC1').

Examples

collapse all

SimulinkRealTime.pingTarget
SimulinkRealTime.pingTarget('TargetPC1')

Input Arguments

collapse all

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

Example: TargetPC1

Data Types: char

Introduced in R2014a

Was this topic helpful?