www.pudn.com > communicationmatlab.rar > SBITERRS.M
function sbiterrs(h_fig, len_rate, len_u);
%SBITERRS reset the data
% Wes Wang
% Copyright (c) 1996 by The MathWorks, Inc.
handles = get(h_fig, 'UserData');
if len_rate < 2
h_sym_bit = handles(2 : len_u*2);
else
h_sym_bit = handles(2 : len_u*4-1);
end;
for i = 1 : length(h_sym_bit)
set(h_sym_bit(i), 'UserData', 0, 'String', '0');
end;