Why I see "Undefined function or variable 'opcuaserverinfo'." using OPC Toolbox in R2015b 32 Bit?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 4 May 2021
Answered: MathWorks Support Team
on 4 May 2021
I try to use the OPC UA functions in MATLAB R2015b with 32 Bit, but it does not work and I see this error:
>> serverList = opcuaserverinfo('localhost')
Undefined function or variable 'opcuaserverinfo'.
Besides this, I checked the path:
>> cd d:\Program' Files (x86)'\MATLAB\R2015b\toolbox\opc\opc\
>> ls
+opc flatnamespace.m opcqid.m opcsupport.m
. info.xml opcqparts.m private
.. opccallback.m opcqstr.m serveritems.m
@dagroup opcdatatypes.m opcread.m showopcevents.m
@daitem opcfind.m opcregister.m test_app_16.png
@opcda opchda.m opcreset.m test_app_24.png
@opcroot opchdaserverinfo.m opcserverinfo.m
Contents.m opchelp.m opcstruct2array.m
DesktopToolset.xml opcmex.mexw32 opcstruct2timeseries.m
>> which -all opcuaserverinfo
'opcuaserverinfo' not found.
Why is there no OPC UA function or is this caused by a bad installation?
Accepted Answer
MathWorks Support Team
on 4 May 2021
The release notes of the R2015b release show the cause:
"Note: OPC UA support is available only for 64-bit Window operating systems."
As one can see, the reason is, the OPC UA functionalities are only shipped in the 64 Bit Windows version.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!