I would like to know how could I compare two files (line by line) (*.xml, .m,.txt,...etc) using MATLAB.
file1 = \'toto.xml\'; file2 = \'titi.xml\';
AFAIK the only diffing tool in MATLAB is visdiff which does not return any information, but displays a window with both files side-by-side and highlights the different lines.