MATLAB: How to compare two MLAPP files

comparegitMATLABmlappsvn

I have two different versions of my MATLAB application built with App Designer. Is there a way for me to compare them to see the differences?

Best Answer

Yes, as of MATLAB R2016a, the MATLAB Compare Tool supports comparing two MLAPP files as an "App code comparison".
To do this, right click on an MLAPP file from the Current Folder Browser, then select "Compare Against" -> "Choose" from the context menu.
Alternatively you can select "Compare" from the Home tab of the MATLAB Toolstrip, which will bring up the same dialog.
Then select the two files you wish to compare.
If you are using either SVN or Git source control, you can also compare against previous versions of the file by right clicking the file and selecting "Source Control" -> "Compare to Revision" or "Compare to Ancestor".