Hi Maha, this might help you
comparison = visdiff('test.m', 'test2.m');
fp = fopen('diff.txt', 'w');
fprintf(fp, '%s', comparison);
fclose(fp);
the diff.txt file will contain the output
Hi Maha, this might help you
comparison = visdiff('test.m', 'test2.m');
fp = fopen('diff.txt', 'w');
fprintf(fp, '%s', comparison);
fclose(fp);
the diff.txt file will contain the output
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!