Main Content

isConnected

Get target computer connected status

Since R2021b

Description

example

isConnected(target_object) returns true if target object is connected to the target computer or returns false if target object is disconnected from the target computer.

Examples

collapse all

Get the target computer connection status.

isConnected(tg)
ans =

  logical

   1

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2021b

See Also