a.x = 1; try b .x = 1; catch, fprintf('produces exception!\n'); end c = struct(); c .x = 2;