Data Acquisition Toolbox
Data Acquisition Toolbox provides Simulink blocks for acquiring live or measured data directly into your models, or for configuring hardware interfaced to data acquisition devices. These blocks are only available using the Legacy interface and the 32-bit version of MATLAB.
You can use the blocks to quickly evaluate the response of your Simulink models and algorithms with real-world data instead of designing systems against static data sets, such as those saved in files. You can also use the blocks to verify and validate models against live, measured data as part of the design verification process.
Data Acquisition Toolbox provides six Simulink blocks:
Input blocks let you acquire live data from hardware and then incorporate that data directly into your models. Output blocks let you configure hardware from your Simulink models, including instructing hardware to send data.
Each block enables you to configure parameters including device type, channels, and lines. The analog blocks also enable you to configure other relevant parameters such as asynchronous versus synchronous acquisition, sample rate, block size, and data type. You can connect the Simulink model to a broad range of data acquisition hardware, and later change devices with minimal changes to your model. By using Simulink with Data Acquisition Toolbox, you can verify designs with live data.