Disconnect OPC UA client from server
disconnect(UaClient)
disconnect(UaClient)
disconnects the OPC
UA client UaClient
from its server, and sets the client
Status
property to 'Disconnected'
.
Disconnect an OPC UA client and view its connection status.
s = opcuaserverinfo('localhost');
UaClient = opcua(s);
connect(UaClient);
UaClient.Status
Connected
disconnect(UaClient); UaClient.Status
Disconnected
connect
| isConnected
| opcua