Create OPC data access object
creates an OPC data access object, DAobj = opcda(HostID,ServerID)DAobj, for the host specified by
Host and the OPC server ID specified by ServerID.
When you create DAobj, its initial Status property
value is 'disconnected'. To communicate with the server, you must connect
DAobj to the server with the connect function.
creates an OPC DA object, DAobj = opcda(HostID,ServerID,Name,Value)DAobj, for the host specified by
Host and the OPC server ID specified by ServerID,
applying the specified property values. If you specify an invalid property name or value,
the function does not create an object.
For a complete listing of OPC Toolbox™ functions and properties, type opchelp.