Matlab can't connect to other network computers for there OPC servers, but other OPC clients can.

1 view (last 30 days)
Hello everybody,
When I trie to use opcserverinfo('host') to get some info about the OPC Servers running on the host-computer (not the computer, where matlab is installed), I get the message 'access denied'. Same problem when I trie to use the OPC Tool to connect to the computer.
In my opinion this means that Matlab is not able to connect to networkcomputers at all, because it can't even search them for their OPC Servers.
The funny thing is, that I can connect to the desired OPC-Server via my testclient (non matlab), so the DCOM settings on my server computer and on my client computer should be ok. Furthermore, when I trie to connect to a local testserver with matlab, it works as well, which means that opcregister('install') has worked perfectly. Since those are the both solutions suggested by the matlab documentation, I know no other possibility to solve my problem.
Did anyone ever had the same problem?
A big thank you all from Germany! Jakob
  2 Comments
Sinan
Sinan on 10 Sep 2014
Hi Jakob,
I am running into the same situation. MATLAB cannot access any OPC HDA serverID however other clients could. Did you solve this problem? And if you did, could you please share what did you have to do to fix the issue.
Thanks, Sinan

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!