function audioCleanUserData(blk)

% audioCleanUserData: Remove FigureTag field from UserData if it exists

%   Copyright 2016 The MathWorks, Inc.

BlkUserData = get_param(blk,'UserData');
if isfield(BlkUserData,'FigureTag') 
   BlkUserData = rmfield(BlkUserData,'FigureTag');
   set_param(blk,'UserData',BlkUserData);
end
