LVM file import

Imports LabView .lvm data files into MATLAB

You are now following this Submission

National Instruments LabView software has a native file format called LabView Measurement File (LVM, extension .lvm). This m-file, lvm_import.m, reads LVM files and imports the data into the MATLAB workspace. lvm_import.m handles all types of text-based LVM files, and returns specific information such as date, time, data column names, etc.

Cite As

M. A. Hopcroft (2026). LVM file import (https://uk.mathworks.com/matlabcentral/fileexchange/19913-lvm-file-import), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.12.0.0

Fixed bug that prevented importing "data-only" .lvm files.

3.1.0.0

add graphic
v3.1 - More robust handling of files with missing data points. Fully vectorized processing of files using comma-separated decimals.

1.6.0.0

v2.2 fix for case of comma separator in multi-segment files; performance improvement

1.5.0.0

v2.1: fix "empty Separator" bug; align column labels with data array; other minor changes (see code comments for details)

1.4.0.0

v2.0: fix "string bug" for non-dot-based decimal files

1.3.0.0

Updated for LVM version 2.0 (decimal separator)

1.2.0.0

v1.2 bugfixes for "Special Headers".

1.1.0.0

v1.1 update to stay compatible with latest NI version

1.0.0.0

Fix comments, add Cells