필터 지우기
필터 지우기

Unable to connect to OPC server in Simulink-Industrial Communication Toolbox but can connect with matlab command

조회 수: 2 (최근 30일)
(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

답변 (1개)

Yatharth
Yatharth 2024년 3월 19일
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.

카테고리

Help CenterFile Exchange에서 Server Connection and Browsing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by