Read and write data from OPC servers and data historians

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. OPC Toolbox lets you 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 product includes Simulink blocks that let you model online supervisory control and perform hardware-in-the-loop controller testing.


OPC Data Access Techniques

Discover, access, and read raw and processed data from any data historian compliant with the OPC Historical Data Access standard.

Learn more

OPC Data Access Object

Manage connections to OPC servers and collections of server items or tags.

Learn more

OPC DA Data Reading and Writing

Read from or write to individual items or all the items in the group simultaneously.

Learn more

OPC Historical Data Access

Browse the server namespace and retrieve fully qualified IDs of each item stored on the server.

Learn more

OPC UA Data Access

Browse for available OPC UA servers. You then connect to an OPC UA server by creating an OPC UA Client object.

Learn more

OPC UA Historical Data Access

Read historical data from nodes on the UA server.

Learn more

Product Resources

Discover more about OPC Toolbox by exploring these resources.


Explore documentation for OPC Toolbox functions and features, including release notes and examples.


Browse the list of available OPC Toolbox functions.


View a Simulink library of blocks that OPC Toolbox supports.

Technical Articles

View articles that demonstrate technical advantages of using OPC Toolbox.

User Stories

Read how OPC Toolbox is accelerating research and development in your industry.

Product Requirements

View product requirements for the latest release of OPC Toolbox.


OPC Toolbox apps enable you to quickly access common tasks through an interactive interface.

Try or Buy

Get a Free Trial

Test drive OPC Toolbox.

Get a trial

Ready to Buy?

Purchase OPC Toolbox and explore related products.

Contact sales
Pricing and licensing

Have Questions?


Contact Eric Wetjen,
OPC Toolbox Technical Expert

Email Eric

OPC Toolbox requires: MATLAB

Related Solutions

Use OPC Toolbox to solve scientific and engineering challenges:

News and Events

Do you store process or plant information in the OSIsoft PI System? Would you like to perform more advanced analytics on your historical and real time enterprise data? In this webinar, learn how to apply the convenience of advanced analysis in MATLAB

Using MATLAB with PI System for Analysis and Process Monitoring