Mat file opening and comparing with each other

Hi i have stored my codes result as mat files. They are about 500. I wanna compare all these 500 mat files with each other. Is there anyway that i can open and compare them all?tnx

답변 (1개)

Steven Lord
Steven Lord 2021년 12월 14일

0 개 추천

What type of comparison do you want to perform? Do you want a logical answer, yes MAT-file A is different from MAT-file B or no they are the same? Or do you want information about what and where the differences are?
Take a look at this documentation page about using the comparison tool to compare MAT-files.

댓글 수: 6

armin m
armin m 2021년 12월 14일
편집: armin m 2021년 12월 14일
All of them are matrixes with same dimention. If it is possible to compare them in one windows or load them together not one by one, I will reach my goal.
armin m
armin m 2021년 12월 14일
편집: armin m 2021년 12월 14일
I looked at your link it just compare file fromstructure. My files are matrices. Iwanna just compare its numbers.
I repeat my question: do you want a scalar logical (are these two matrices exactly the same or not) or do you want an array indicating where and/or how different they are?
armin m
armin m 2021년 12월 14일
Yes i want to see which numbers of these mat files different from each other. All of the files are the same size matrix which has made of numbers.
armin m
armin m 2021년 12월 14일
These are different matrixes
armin m
armin m 2021년 12월 14일
편집: armin m 2021년 12월 14일
I wanna compare numbers of each matrices and make decision which one to choose. But beacause of large numbers of mat files, it is difficult to open files one by one.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Variables에 대해 자세히 알아보기

질문:

2021년 12월 14일

편집:

2021년 12월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by