This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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