function update_status(hfig,str)
% UPDATE_STATUS Update text status box.
% 
% Inputs:
%   hfig - handle to FDTool figure.
%   str - string to display in the status box.

%   Author(s): P. Pacheco
%   Copyright 1988-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/13 21:23:52 $ 


% If str is not a string, skip
% -1 is often used to "skip" the update
if ischar(str),
   ud = get(hfig,'userdata');
   set(ud.h.status.Text,'string',str);
end

% [EOF] update_satus.m
