function hnr=iduiwok(k)
%IDUIWOK Checks if window number k in the ident GUI exists.
%      If it does, its handle number is returned, otherwise [] is returned.

%   L. Ljung 9-27-94
%   Copyright 1986-2000 The MathWorks, Inc.
%   $Revision: 1.4 $  $Date: 2000/06/15 11:46:31 $

tag=['sitb',int2str(k)];
hnr=findobj(get(0,'children'),'flat','tag',tag);