Data Access with Simulink
Use blocks in Simulink® models to communicate with OPC servers
The Industrial Communication Toolbox™ block library provides a set of blocks for accessing OPC DA servers in Simulink models.
Blocks
OPC Configuration | Configure OPC DA clients for model, pseudo real-time control, and behavior for OPC errors and events |
OPC Quality Parts | Convert OPC DA quality ID into vendor, major, minor, and limit status |
OPC Read | Read data from OPC DA server |
OPC Write | Write data to OPC DA server |
Functions
genslread | Generate Simulink OPC Read block from MATLAB group object |
genslwrite | Generate Simulink OPC Write block from MATLAB group object |
Topics
- Block Library Overview
Learn about the OPC block library.
- Read and Write Data from a Model
View a simple example of using the library in a model.
- Use the OPC Client Manager
Configure the association of OPC clients with a Simulink model.