function ssdisp(figNumber,string)
%SSDISP Display text from the Slide Show format.
%
%   SSDISP(figNumber,string) will display the supplied string
%   in the Comment Window of a Slide Show figure. If the Slide
%   Show GUI shell is not being used, SSDISP will display directly
%   to the command window.

%   Ned Gulley, 6-21-93
%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.3 $  $Date: 1997/11/21 23:27:13 $

if figNumber==0,
    clc
    disp(' ');
    disp(string);
    disp(' ');
else
    hndlList=get(figNumber,'UserData');
    txtHndl=hndlList(1);
    set(txtHndl,'String',string);
end
