Unable to connect to OPC server in Simulink-Industrial Communication Toolbox but can connect with matlab command
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
(MATLAB R2022b)When I use matlab command, I can connect to the OPC server in the local computer
But when i use simulink to try to connect, then it failed, and reported “RPC server is unavailable”,what could I do to solve the problem
0 Kommentare
Antworten (1)
Yatharth
am 19 Mär. 2024
Hi liang sen,
I acknowledge you are able to establish a connection to an OPC UA server utilizing MATLAB's "opcua" function. However, I understand you are encountering difficulties when attempting to achieve a similar connection through the OPC Read block in Simulink.
It's important to note that MATLAB R2022b does not extend support for OPC UA blocks within Simulink. Consequently, the OPC Read block that is presently available is designed exclusively for connections to OPC DA servers. This is the underlying reason for the challenges you are facing in connecting to an OPC UA server.
I hope this resolves your query.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!