jorgev wrote:
ligz17 wrote:
Edwin Schwellinger wrote:
Hi,
does matlab have an embedded OPCUA client?
This would be a good solution to do this. OPCUA Server is embedded in all CODESYS SL runtimes.
BR
Edwin
Thank you for your suggestion. I had created a OPC Server on CODESYS and set up a OPC client with matlab which connected the server successfully.
Hi ligz17,
I am trying to implement the same communication: CODESYS OPCUA server with raspberry pi to Matlab OPCUA client.
Unfortunately I did not succeed. Could you post more details of your solution?
I connect with other clients such as python or UAexpert. But not with Matlab or Simulink
I successfully connected with the OPC UA SERVER at the raspberry with the entries below.
MATLAB CODE:
uaObj = opcua('opc.
tcp://192.168.100.11:4840/OPCUAServer', 'None', 'None', uint8(0));
connect(uaObj)
Mathworks has suggested to use this undocumented technique until they release a patch/fix to handle better this connection errors.