Connect OPC UA client to server
connect(UaClient) connects the OPC UA
UaClient to its referenced server using anonymous user
OPC Toolbox™ currently supports only unsecured connections.
When the client successfully connects to the server, the client
Status property is set to
the first level of the server’s namespace is retrieved, and various essential
properties of the client are read from the server.
UaClient is a vector of clients and some clients can connect
but some cannot, a warning is issued. If no clients can connect, an error is
disconnect function to disconnect the client from the
Locate a server and connect a client to it.
s = opcuaserverinfo('localhost'); UaClient = opcua(s); connect(UaClient);