%% Remove Single Field
% Define a scalar structure with fields named a, b, and c.

s.a = 1;
s.b = 2;
s.c = 3;

%
% Remove field b.

field = 'b';
s = rmfield(s,field)

% Copyright 2012 The MathWorks, Inc.