Create OPC UA client object
creates an OPC UA client associated with the server specified by
UaClient = opcua(ServerInfoObj)ServerInfoObj. You can create server objects with the
opcuaserverinfo function.
creates a client associated with the server referenced by the URL specified in
UaClient = opcua(ServerUrl)ServerUrl.
creates an OPC UA client object associated with the server at port
UaClient = opcua(Hostname,Portnum)Portnum on the host identified by Hostname.
By default, the client attempts to retrieve available connection configurations (called
Endpoints) from the server and chooses the most secure possible security settings from those
configurations. If the attempt to retrieve endpoints fails, an error is generated. You can
override the default settings by using setSecurityModel to
change the MessageSecurityMode or
ChannelSecurityPolicy settings.