Matlab execuatable with OPC-UA

1 visualizzazione (ultimi 30 giorni)
Hullas Sehgal
Hullas Sehgal il 23 Feb 2016
Risposto: Thomas Pursche il 20 Mar 2025
I can make a Matlab executable using the deploy tool. Another way could be to use "mcc" command to generate executable from .m file. My question is, if I want Matlab executable to work as a OPC-UA client, how do I do that. I know there is OPC toolbox available. Assuming it supports OPC-UA format, does the method of generating an executable that works as OPC-UA client remain the same? I want this executable to work on another machine which does not have Matlab. Does having MCRInstaller.exe on the target machine sufficient to have the matlab executable work with OPC-UA server?

Risposte (1)

Thomas Pursche
Thomas Pursche il 20 Mar 2025
Hi,
firtst of all you need the Industrial communication Toolbox, to use all the OPCUA functionality.
Second you need Compiler SDK or similar to create executables from your Matlab code
Third you need a Matlab runtime on the target system matching with your IDE on your development system.
With all of this you are able to crate OPCUA applications running on a different machine.
I have done it several times and it is no problem at all.
Best Thomas

Community Treasure Hunt

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

Start Hunting!

Translated by