comparestructs

Compares 2 structures; determines which fields are the same, which are different; shows differences.

Sie verfolgen jetzt diese Einreichung

%[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.

Zitieren als

Brett Shoelson (2026). comparestructs (https://de.mathworks.com/matlabcentral/fileexchange/2965-comparestructs), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0