The MATLAB environment for analysis provides the tools you need to acquire data and automate tasks. Within MATLAB and Simulink you can control and acquire data from plug-in data acquisition boards, test instruments, Web cameras and frame grabbers, as well as send and receive messages over CAN buses.
Once you acquire data, you can interactively explore it and perform live visualization and data analysis. You can then build test systems, verify designs and concepts, and automate repetitive tasks. You can also deploy test applications built in MATLAB onto other computers.
Acquire and Send Data from Test and Measurement Equipment
In a single environment, you can build flexible test systems, automate testing routines, perform design verification, and analyze and visualize live data as you collect it.
When working with one or more standalone instruments such as oscilloscopes, arbitrary waveform generators, and signal analyzers, you use Instrument Control Toolbox to control the instruments and acquire data from them. You can quickly establish communication with instruments via industry-standard communications protocols such as GPIB, VISA (incuding USB), TCP/IP, and UDP and via industry-standard instrument drivers such as IVI and VXI plug&play. Multiple instrument manufacturers are supported including Keysight, Rohde & Schwarz, and Tektronix. You can also build test systems based on LXI, PXI, and AXIe standards.
When working with plug-in data acquisition boards, you connect to supported boards from multiple vendors using Data Acquisition Toolbox. Because many boards provide both analog and digital input and output capabilities, you can control motors and sensors as well as collect and analyze live data.
Analyzing Your Test Data
Once you have acquired the data, you can use analysis and visualization tools in MATLAB and related data analysis products. Acquiring and analyzing the data in the same environment lets you quickly extract the information you need from your data. Using interactive tools and command-line functions, you can perform tasks such as signal and image processing, statistical analysis, digital filtering, curve fitting, and nonlinear optimization. In addition, you can build graphical interfaces for data acquisition and live analysis of your test data.
When working with acquired data, you can use digital filtering routines to focus on the signal or feature of interest and easily view time-domain data in the frequency domain. When working with image data, you can restore noisy or degraded images and analyze shapes and textures. For projects that involve acquiring data repeatedly, you can investigate the statistics of a phenomenon over time.
Automating Tests and Building Test Applications
Using the capabilities of MATLAB, you can automate your test system to simplify your data collection and analysis. You can build test systems based on LXI, PXI, and AXIe standards. You can build applications with graphical interfaces, and share these applications with others using MATLAB. You can also use MathWorks desktop and Web deployment products to deploy test applications built in MATLAB onto other computers.
Test and Measurement Products
Provides apps and functions for configuring data acquisition hardware, reading data into MATLAB and Simulink, and writing data to DAQ analog and digital output channels. The toolbox supports a variety of DAQ hardware, including USB, PCI, PCI Express, PXI, and PXI Express devices, from National Instruments and other vendors.
Provides functions and blocks for connecting cameras to MATLAB and Simulink. It includes a MATLAB app that lets you interactively detect and configure hardware properties. You can then generate equivalent MATLAB code to automate your acquisition in future sessions.
Provides a comprehensive set of reference-standard algorithms and workflow apps for image processing, analysis, visualization, and algorithm development. You can perform image segmentation, image enhancement, noise reduction, geometric transformations, image registration, and 3D image processing.