DiffPlugs’s MAT-File viewer / differ supports MAT-Files v6 and v7.

  • v6 is the default format from R8 to R13
  • v7 is the default format from R14 to present
  • v7.3 is not supported by DiffPlug, and MATLAB does not export to v7.3 by default.
  • see the Mathworks® website for more details.

MAT-File viewer

The MAT-File viewer has two panes.

  • Data tree (Left)
    • Displays all data in the MAT-File.
  • Data detail (Right)
    • Graphically presents the currently selected data.

MAT-File viewer

Toolbar legend

Action Icon Key Description
Save Save [Ctrl S] Saves this file.
File status File status [Ctrl Shift S] Opens the file status for this file.
Expand all Expand all [Ctrl =] Expands all collapsed elements in the data tree.
Collapse all Collapse all [Ctrl -] Collapses all elements in the data tree.
Reload Refresh [F5] Reloads the folder.
Config Config [F12] Opens the config dialog.

Config

The MAT-File viewer does not have any properties in its config.

MAT-File differ

  • Data tree diff (Left)
    • Displays a diff of the data hierarchies.
  • Data detail diff (Right)
    • Shows a diff of the currently selected data.

MAT-File differ

Toolbar legend

Action Icon Key Description
Save Save [Ctrl S] Saves these files.
File status File status [Ctrl Shift S] Opens the file status for these files.
Expand all Expand all [Ctrl =] Expands all elements up to the edge of the diff.
Expand all deep Expand all [Ctrl Shift =] Expands all elements, even those which were beyond the extent of the diff (grey elements).
Collapse all Collapse all [Ctrl -] Collapses all elements.
Hide identical Hide identical [Ctrl H] Hides all green elements.
First conflict First conflict [Ctrl Shift ↑] Navigates to the first conflict.
Previous conflict Previous conflict [Ctrl ↑] Navigates to the previous conflict.
Next conflict Next conflict [Ctrl ↓] Navigates to the next conflict.
Last conflict Last conflict [Ctrl Shift ↓] Navigates to the last conflict.
Reload Refresh [F5] Reloads the folder.
Config Config [F12] Opens the config dialog.

Config

The MAT-File differ does not have any properties in its config.

Limitations

The MAT-File viewer / differ is currently in alpha. There are many kinds of data contained within MAT-Files, and DiffPlug currently only supports a small subset of them. This subset will grow in future releases.