Products & Services Industries Academia Support User Community Company

Learn more about Instrument Control Toolbox   

LocalHost - Specify local host

Description

LocalHost specifies the local host name or the IP dotted decimal address. An example dotted decimal address is 144.212.100.10. If you have only one address or you do not specify this property, the object uses the default IP address when you connect to the hardware with the fopen function.

You can configure LocalHost 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.

Characteristics

Usage

TCPIP, UDP

Read only

While open

Data type

String

Values

The default value is an empty string.

See Also

Functions

fclose, fopen, tcpip, udp

Properties

LocalPort, RemoteHost, Status

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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