Product website: www.mathworks.com/products/opc.html
OPC Toolbox™ provides access to live and historical OPC data directly from MATLAB® and Simulink®. You can read, write, and log OPC data from devices, such as distributed control systems, supervisory control and data acquisition systems, and programmable logic controllers.
With OPC Toolbox you can work with data from live servers and data historians that conform to the OPC Data Access (DA) standard, the OPC Historical Data Access (HDA) standard, and the OPC Unified Architecture (UA) standard. The toolbox lets you securely connect to OPC UA servers using a variety of security modes, algorithms, and authentication methods.
The product includes Simulink blocks that let you model online supervisory control and perform hardware-in-the-loop controller testing.