% Do structure array fields know about changes to
% another structure array? No. See below:
  clear
  echo on
  clc

% Create an SA
  sa2.y=2;
  pause

% store $sa2$ as a field of $sa1$
  sa1.x=sa2;
  pause

% Check output
  sa1       %  x: [1x1 struct]
  sa1.x     %  y: 2
  sa1.x.y   %  2
  pause

% Now, change value inside $sa2$
  sa2.y=3;
  pause

% What happened to $sa1$ and $sa2$?
  sa2       % y: 3
  sa2.y     % 3
  pause     % 

  sa1       % x: [1x1 struct]
  sa1.x     % y: 2
  sa1.x.y   % 2

% Yes, the values inside x do NOT change.
% This behavior is different in Java, where the values change.

% $sa1.x$ still points to an array, but that array does not change
% when $sa2$ changes.
