Skip to content
MegaRows

MAT File Viewer: Open .mat Files Without MATLAB

Open a MATLAB .mat file and plot its signals in seconds: v4 to v7.3, Simulink and dSPACE exports, even files of several GB. Free, no MATLAB licence, and your file never leaves your device.

Open a MATLAB .mat file

Drop it here or choose a file to plot its signals. Files of several GB are fine.

No .mat file to hand? Try a sample Simulink log.

Tip: drop several files to compare them.

Your file never leaves your device. It is read and charted by your browser. Nothing is uploaded.

At a glance

MAT-file versions
MATLAB v4, v6, v7 and v7.3: files saved with save -v4, -v6, -v7 or -v7.3, and by Simulink, dSPACE and Python.
Finds your signals
Simulink To Workspace logs, dSPACE ControlDesk exports, structs of signals, matrices with channel names and plain vectors with a time vector.
Big files
Files of several GB. Four channels of 10 million samples each (a 330 MB v7.3 file) open in under 3 seconds.
Charts
Zoomable line, step and scatter charts and histograms with a left and a right y axis, up to 8 signals, PNG export. Averages per time window, time spent in each speed or rpm band, and values per gear.
Statistics
Count, missing values, min, max, mean and standard deviation for every signal.
MATLAB needed?
No. No MATLAB licence, no toolbox, no install.
Processing
Runs in your browser. Your .mat file is never uploaded.
Price
Free. No account or sign-up.

How to open a .mat file without MATLAB

  1. Open your .mat file. Drop the .mat file onto the viewer at the top of this page, or click “Choose a file”. Files saved by MATLAB v4 up to v7.3 all work, and there is nothing to install.
  2. Pick a table. Your signals are grouped into tables, one per time base: a Simulink log, a dSPACE raster, a matrix with its channel names. The first table opens straight away; switch to another from the menu in the top bar.
  3. Plot, zoom and check the values. The first signal is plotted against time at once. Add more signals from the toolbar or the column headers, put one on the right axis, drag across the chart to zoom, and read each column’s statistics in the side panel.

Supported MAT-file versions

The viewer recognises the version from the file itself, so you never have to say how a file was saved.

VersionSaved withNotes
MATLAB v4save -v4, MATLAB 4, scipy.io.savemat with format="4"Numeric and text matrices.
MATLAB v6save -v6, scipy.io.savematUncompressed. Numbers, text, logicals, structs, cell arrays and sparse matrices.
MATLAB v7save (MATLAB’s default), save -v7, scipy.io.savemat with do_compression=TrueCompressed. Everything v6 holds.
MATLAB v7.3save -v7.3 (needed for variables over 2 GB), hdf5storageThe format for very large data. Files of several GB open.

Where your .mat files come from

The viewer finds the signals in the file for you, whichever tool wrote it:

MATLAB save

Workspaces saved with save or from the Workspace browser: vectors, matrices, structs (also nested) and struct arrays of signals. A time vector such as t, time or tout becomes the x axis of the signals of the same length.

Simulink To Workspace and logged outputs

Structure with time, Structure and Array formats, plus tout and yout. Each block’s signals become one table with their labels as column names, multi-element signals included.

dSPACE ControlDesk

Measurement exports with X and Y channels. Every raster (for example a 1 ms and a 10 ms task) becomes its own table with its own time axis, and channel names and units are kept.

CANape and INCA style exports

Files where every channel is a vector, with one or more time vectors such as t_eng or time_brake. Signals are paired with the matching time vector by name, and matrices with a list of channel names get those names as column headers.

Python

Files written by scipy.io.savemat (v4, v6, v7) and hdf5storage (v7.3) open the same way as files from MATLAB.

What isn’t supported yet

  • MATLAB table, timetable and datetime objects. These objects (and string arrays, categorical arrays and Simulink Dataset objects) can only be read by MATLAB itself today. The viewer lists them in the notes and opens everything else in the file.
  • Function handles. Skipped, with a note.
  • Very large sparse matrices. Sparse matrices with more than a million elements are listed in the notes instead of being expanded.
  • Editing and saving. The viewer reads .mat files; it never changes them.

Tip: to open a MATLAB table here, turn it into a struct of columns before saving: s = table2struct(T, 'ToScalar', true); save('data.mat', '-struct', 's'). For a timetable, call timetable2table first. Every column then appears as a signal.

Built for big files

Long test runs and high-rate loggers easily produce .mat files of hundreds of megabytes. The viewer opens them in seconds, right in your browser. In our tests in Chrome on a recent laptop, a file with a time vector and four channels of 10 million samples each opened in:

  • about 1 second saved with -v6 (400 MB);
  • about 2 seconds saved with -v7 (330 MB, compressed);
  • under 3 seconds saved with -v7.3 (330 MB).

A one-sample spike in 10 million samples is still visible in the overview, and zooming in reloads the exact values of the visible range instantly. Slower machines take longer, and very large files need enough free memory.

Private by design: nothing is uploaded

Measurement data is often confidential: unreleased prototypes, customer projects, supplier test results. Online converters that upload your .mat file put a copy on someone else’s server. MegaRows does not: the viewer runs entirely in your browser, and the file and its name are never sent anywhere. Read the privacy statement for details.

Need to plot CSV, Excel or text logs as well? The same viewer opens them: see the plotter.

Frequently asked questions

How do I open a .mat file without MATLAB?

Drop the file onto the viewer at the top of this page, or click “Choose a file”. Your browser reads it on your own device and shows the signals as a chart and a table within seconds. You do not need MATLAB, a licence or any software to install.

Which MAT-file versions can I open?

All the common ones: MATLAB v4, v6, v7 (the default when you call save) and v7.3, including v7.3 files of several GB. Files written by Simulink, dSPACE ControlDesk and Python (scipy.io.savemat, hdf5storage) work too.

Can I view Simulink To Workspace output?

Yes. Structure with time, Structure and Array formats are recognised, as are tout and yout. Each To Workspace block becomes a table with its signal labels as column names, plotted against the simulation time when it was saved.

Does it open dSPACE ControlDesk .mat exports?

Yes. Each measurement raster, for example a 1 ms and a 10 ms task, becomes its own table with the right time axis, and the channel names and units from the export are kept. Pick a raster from the menu in the top bar.

Why are my table or datetime variables missing?

MATLAB table, timetable, datetime, string and categorical objects can only be read by MATLAB today, so the viewer lists them in the notes and opens the rest of the file. Convert a table before saving it with s = table2struct(T, 'ToScalar', true) and save s instead (for a timetable, use timetable2table first).

How big can the .mat file be?

Files of several GB open, limited by your device’s memory. In our tests in Chrome on a recent laptop, a file with four channels of 10 million samples each opened in about 1 second saved with -v6, about 2 seconds with -v7 and under 3 seconds with -v7.3. Zooming in reloads the full detail instantly.

Is my .mat file uploaded anywhere?

No. The file is read by your browser on your own device, and neither the file nor its name is sent anywhere. That makes the viewer safe for test-bench data and unreleased engineering results. You can check it in the Network tab of your browser’s developer tools.

My file has several groups of signals. Which one is shown?

The viewer finds your signals automatically and groups the ones that share a time base into tables. The first table opens straight away, and the menu in the top bar lists every table with its name, so you can switch between Simulink blocks, dSPACE rasters or matrices without opening the file again.

Send feedback

Found a bug, missing a feature or just want to say hi? We would love to hear from you.

Type
0 / 5,000

We never receive your files. Sent with your message: page /, version 0.1.0.