Compare files with MATLAB

后端 未结 5 1505
时光取名叫无心
时光取名叫无心 2021-01-22 06:36

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\';
         


        
5条回答
  •  耶瑟儿~
    2021-01-22 07:26

    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.

提交回复
热议问题