Shimmer MATLAB Instrument Driver

Software Development

The Shimmer MATLAB Instrument Driver is an object orientated solution for Shimmer data capture directly into MATLAB.

The solution will allow Shimmer users to stream data directly to MATLAB, and assist users of the Shimmer3 Platform in the development of Shimmer based applications in MATLAB. Shimmer users will benefit from MATLAB’s full range of tools including matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java, and Fortran.

Download the Shimmer MATLAB Instrument Driver:

download button

Description

Shimmer MATLAB Instrument Driver

The Shimmer MATLAB Instrument Driver is an object orientated solution for Shimmer data capture directly into MATLAB.

The solution will allow Shimmer users to stream data directly to MATLAB, and assist users of the Shimmer3 Platform in the development of Shimmer based applications in MATLAB. Shimmer users will benefit from MATLAB’s full range of tools including matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java, and Fortran.

Version 1.0 is the first full release, and replaces the beta version 0.X which was initially made available for download. The Instrument Driver is designed to work with MATLAB 2008a (version 7.6) or later on a Windows OS (the library has been tested on Windows XP and Windows 7).

Key features of the Shimmer MATLAB Instrument Driver include:

  • Object orientated solution for Shimmer data capture directly into MATLAB
  • Provides for full configuration functionality to set features such as
  • Sampling rate
  • Accelerometer range
  • Which sensors are enabled/disabled
  • Allows for simultaneous data capture from multiple Shimmer units
  • Two example .m scripts which demonstrate the use of the ShimmerHandle class including plotting of data and writing data to a file
  • Includes documentation and help info
  • Auto calibration of data (added in v1.0)
  • Battery Monitoring/Low battery notification
  • Support for stored ECG and EMG calibration values
  • A method to check for any packet loss (added in v1.0)
  • Updated examples (added v1.0)

MATLAB

MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical computation. Using MATLAB, you can solve technical computing problems faster than with traditional programming languages, such as C, C++, and Fortra. Key features of the MATLAB Instrument Driver environment include:

  • Development environment for managing code, files, and data
  • Interactive tools for iterative exploration, design, and problem solving
  • Mathematical functions for linear algebra, statistics, Fourier analysis, filtering, optimization, and numerical integration
  • 2-D and 3-D graphics functions for visualizing data
  • Tools for building custom graphical user interfaces

3D Orientation Functionality

  • 3D orientation estimation in quaternion format using Accelerometer, Gyroscope and Magnetometer
  • On-the-fly calibration of Gyroscope while streaming
  • Further Support for LogandStream firmware – now allows configuration of the magnetometer (Range & Sampling Rate)
  • Visualization of 3D orientation (see image below)

Download the Shimmer MATLAB Instrument Driver

The Shimmer MATLAB Instrument Driver Beta solution is available to download

  • Shimmer MATLAB Instrument Driver
  • Shimmer MATLAB Instrument Driver User Manual

Video