Write array data to OPC-UA server

3 views (last 30 days)
Martin Kosch
Martin Kosch on 15 May 2020
Answered: Martin Kosch on 19 May 2020
Dear MATLAB community,
I am trying to write data to an array on an OPC-UA server using the OPC toolbox with writeValue(). According to the thrown error message, only scalar values can be written by the toolbox.
Is there a workaround for this, for example by writing the array entries one at a time?

Answers (1)

Martin Kosch
Martin Kosch on 19 May 2020
I found the solution. Writing arrays via OPC seems to be a feature that is only supported after R2020a.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!