Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-connect-opcua-client
Discover OPC UA servers and create client connections in MATLAB using opcuaserverinfo, opcua, connect, setSecurityModel, and certificate trust functions.
Passed 18 of 23 test cases with the skill, and 6 of 23 without it.
and 13 more in the full report
12 fixed6 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
I ran `serverInfo = opcuaserverinfo('localhost')`. I want to inspect the server name and description in the first returned element. Which property of `opc.ua.ServerInfo` contains the server description?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies Description as the property containing the human-readable description on opc.ua.ServerInfo. | Missed | Passed |
| Clarifies that opc.ua.ServerInfo does not have a Name property. | Missed | Passed |
The instructions your model reads when the skill loads.
Create and configure OPC UA client connections in MATLAB using the Industrial Communication Toolbox.
These constraints govern YOUR code generation and recommendations. Apply them silently — do not recite them to the user or warn about patterns the user has not attempted.
connect has exactly three valid signatures — no others exist:
connect(uaClient) — anonymousconnect(uaClient, userName, password) — positional stringsconnect(uaClient, publicKeyFile, privateKeyFile, privateKeyPassword) — positional stringsconnect. Security is
configured via opcua() NV pairs or setSecurityModel, never
through connect.opcua() defaults to the highest available security. Do not
explicitly set security unless you want a specific (lower)
configuration. Never use setSecurityModel(uaClient, "Best") — it is
redundant.
opcuaserverinfo has exactly two valid syntaxes:
opcuaserverinfo(hostname) — query LDS on a hostopcuaserverinfo(discoveryUrl) — query a specific endpoint URLopcuaserverinfo(hostname, port) form. To specify a
port: opcuaserverinfo('opc.tcp://host:port').LDS-based discovery returns all registered servers from a single
call. Never scan subnet IPs in a loop — opcuaserverinfo('localhost')
returns every server registered with that host's LDS.
Certificate trust escalation order (never skip steps):
opc.ua.trustServerCertificate(certPath) — always first (R2026a+)opcua(..., "TrustServerTemporarily", true) — only if cert file
unavailablesetSecurityModel(uaClient, "None", "None") — only after user
explicitly confirms no security neededtest cases passed, vs 6 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.