Skip to Main Content Skip to Search
Product Documentation

targetping - Test communication between host and target computers

Synopsis

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

delete | 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-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS