Main Content

Data Access with Simulink

Use blocks in Simulink® models to communicate with OPC servers

The OPC Toolbox™ block library provides a set of blocks for accessing OPC DA servers in Simulink models.


OPC ConfigurationConfigure OPC clients for model, pseudo real-time control, and behavior for OPC errors and events
OPC Quality PartsConvert OPC quality ID into vendor, major, minor, and limit status
OPC ReadRead data from OPC server
OPC WriteWrite data to OPC server


genslreadGenerate Simulink OPC Read block from MATLAB group object
genslwriteGenerate Simulink OPC Write block from MATLAB group object


Block Library Overview

Introduces the OPC Toolbox block library.

Read and Write Data from a Model

Provides a simple example of using the library in a model

Use the OPC Client Manager

Describes the dialog for managing the association of OPC clients with a Simulink model

Featured Examples