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.
 

Toolbar legend
| Action | Icon | Key | Description | 
|---|---|---|---|
| Save |   | [Ctrl S] | Saves this file. | 
| File status |   | [Ctrl Shift S] | Opens the file status for this file. | 
| Expand all |   | [Ctrl =] | Expands all collapsed elements in the data tree. | 
| Collapse all |   | [Ctrl -] | Collapses all elements in the data tree. | 
| Reload |   | [F5] | Reloads the folder. | 
| 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.
 

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