Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

RemoteHost

Specify remote host

Description

RemoteHost specifies the remote host name or IP dotted decimal address. An example dotted decimal address is 144.212.100.10.

For TCPIP objects, you can configure RemoteHost only when the object is disconnected from the hardware. You disconnect a connected object with the fclose function. A disconnected object has a Status property value of closed.

For UDP objects, you can configure RemoteHost at any time. If the object is open, a warning is issued if the remote address is invalid.

Characteristics

Usage

TCPIP, UDP

Read only

While open (TCPIP), never (UDP)

Data type

Character vector

Values

The value is defined when you create the TCPIP or UDP object.

See Also

Functions

fclose, fopen, tcpip, udp

Properties

LocalHost, RemotePort, Status

Was this topic helpful?