Test and Measurement
Using MATLAB® or Simulink® and related products, you can control and acquire data from data acquisition hardware, imaging hardware, instruments, or CAN buses. You can also communicate with circuit boards and sensors using SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit) and Bluetooth serial protocols. Without leaving your workspace, you can then visualize and analyze the data.
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 VXIplug&play. 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.
Moss Landing Verifies Ocean Color Data (User Story)
With Instrument Control Toolbox, you can connect MATLAB to devices that communicate over I2C, SPI or Bluetooth SPP (Serial Port Profile). You can send and receive messages using these protocols and you can build applications (prototypes?) that interface to embedded sensors such as accelerometers, temperature sensors, humidity sensors, and gyroscopes. You can also perform generic testing of embedded systems that communicate via SPI or I2C.
With Image Acquisition Toolbox™ you can acquire images and video directly into MATLAB and Simulink from PC-compatible imaging hardware. With support for multiple hardware vendors, you have the choice of a range of imaging devices from inexpensive Web cameras or industrial frame grabbers to high-end scientific cameras that meet low-light, high-speed, and other challenging requirements. Once you have acquired images, you can extract features and perform further analysis using MathWorks image and video processing products.
With Vehicle Network Toolbox™ you can monitor and analyze Controller Area Network (CAN) bus traffic directly from your MATLAB or Simulink workspace with support for Vector, Kvaser, and NI-CAN, NI-XNET and PEAK- System interface hardware. You can communicate directly with in-vehicle networks using CAN protocol and XCP protocol from either MATLAB or Simulink. Within a single environment, you can:
Accessing CAN bus from MATLAB (Example)
Accessing CAN bus from Simulink (Example)
"Because we use the Instrument Control Toolbox and Data Acquisition Toolbox, all the test data is in MATLAB, and I can obtain the results immediately. We used to spend days on just one test. With MATLAB, we can run the same test and analyze the results in a few hours."Read the story