Connection between Matlab and Codesys
5 次查看(过去 30 天)
显示 更早的评论
I am trying to connect the two softwares in order to send to variables from Matlab to Codesys. The connection is stable using Simulink but I don't know how to do using Matlab.
I have already tried using:
Server=opcua('localhost',%portnumber);
connect(Server);
Error using opc.ua.Client/fetchEndpoints (line 610)
The server has disconnected from the client.
Error in opc.ua.Client/connect (line 457)
errorCode = clnt.fetchEndpoints;
So above we have the error that appear.
Someone has already estabilished a connection?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Server Management 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!