找到包含指定描述的OPC UA服务器
确保你= findDescription(服务器、DescStr)
确保你= findDescription(服务器、DescStr)
搜索中服务器
并且只返回那些OPC UA服务器描述
属性包含字符向量或字符串DescStr
.
从本地主机查找所有示例服务器。
localServers = opcuaserverinfo (“localhost”);sampleServers = findDescription (localServers,“样本”)
sampleServers = OPC UA ServerInfo 'UA Sample Server':连接信息Hostname: 'HOST2241' Port: 51210