with mathworks data acquisition products, you can access data from hardware such as data acquisition boards, test and measurement instruments, can bus interface devices, and imaging devices. you also have direct access to data from odbc-compliant or jdbc-compliant databases, opc servers, and several financial data servers.
mathworks data acquisition products provide direct access to data to enable live visualization and analysis and streamline automation of repetitive tasks that require data from external sources.
“we move up our deadlines because analyzing our data now takes only minutes. mathworks tools have saved us hundreds of hours in testing time.”
reed farrar, newport corporation
communicating with hardware and instruments
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), modbus, and bluetooth serial protocols. without leaving your workspace, you can then visualize and analyze the data.
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 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.
acquire and send data using i2c, spi, modbus, and bluetooth protocols
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 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, and you can communicate with industrial equipment using either modbus rtu or modbus tcp/ip.
acquire images and video from cameras and frame grabbers
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 conditions. once you have acquired images, you can extract features and perform further analysis using mathworks image and video processing products.
communicate directly with can buses
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 and 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:
- send and receive messages over can and xcp protocols
- monitor live can bus traffic using built-in tools
- automatically filter can messages
- use industry standard dbc and a2l files
accessing data directly from databases and data servers
from a single environment, mathworks data acquisition products let you connect directly to:
- odbc-compliant databases to analyze historical data
- financial data servers to access live and historical market data
- opc or opc ua servers to access live and historical industrial plant data
direct access to these data sources also enables automation of repetitive tasks.
exchange data between matlab and databases without knowing sql
analyze information stored in odbc- and jdbc-compliant databases using matlab and database connectivity tools. you can access and write data from and to popular databases such as oracle®, sybase®, microsoft® sql server™, and informix® using structured query language (sql) commands. if you are not familiar with sql, you can interact with a database using the built-in visual query builder.
access live and historical financial market data
financial professionals building computational finance applications in matlab can use mathworks data feed connectivity tools to access data directly from financial data service providers. this connection enables access to live and historical market data for use in complex financial and analytical models. you can use graphical interfaces to open a connection, specify search parameters, and retrieve data for visualization and analysis in matlab without writing code.
read and write opc data directly from opc servers and data historians
when working with devices that conform to the opc foundation data access standard, such as distributed control systems, supervisory control and data acquisition systems, and programmable logic controllers, industrial communication toolbox™ lets you exchange data with an opc or opc ua server. you can also read and analyze data from any data historian that conforms to the opc foundation historical data access (hda) standard.