comparestructs

버전 1.0.0.0 (1.54 KB) 작성자: Brett Shoelson
Compares 2 structures; determines which fields are the same, which are different; shows differences.
다운로드 수: 2.6K
업데이트 2003/1/24

라이선스 보기

%[same,different,diffvals] = comparestructs(A,B)
%Compares two structures of the same size and determines which fields are the same, and which are different; returns a structure of fields which are different to faciliate comparisons.
%This is useful for comparing properties (ex: tmp1 = get(axes1);tmp2=get(axes2); [same, different] = comparestructs(tmp1,tmp2))
%to see how an item has changed.

Tested under MATLAB R12 and R13.

인용 양식

Brett Shoelson (2026). comparestructs (https://kr.mathworks.com/matlabcentral/fileexchange/2965-comparestructs), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Operators and Elementary Operations에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0