Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

targetping - Test communication between host and target computers

Syntax

MATLAB command line

targetping(target_object)
target_object.targetping

Arguments

target_object

Name of a target object.

Description

Method of a target object. Use this method to ping a target PC from the host PC. It returns either success or failed. If the xPC Target kernel is loaded, running, and communication is working properly, this function returns the value success.

This function works with both RS-232 and TCP/IP communication.

Examples

Ping the communication between the host and the target object tg.

targetping(tg) or tg.targetping

See Also

The xPC Target target object methods delete and xpctarget.xpc.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS