function d = addclass(d,c)
%ADDCLASS add a class to the data set (obsolete)
%    
%    D = ADDCLASS(D,C) adds class C to dataset D.
%    
%    

%MAN_PAGE_BEGIN
%
%   @purpose	add a class to the data set (obsolete)
%
%   @synopsis	d = addClass(d,c)
%   @description  adds class <CODE>c</CODE> to dataset <CODE>d</CODE>.
%
%
%MAN_PAGE_END

% By Antoine Duchateau. All Rights Reserved.
% Written: 19/03/99

classcol = find(strcmp(d.vartypes,'class'));
d.symbols{classcol} = [d.symbols{classcol} {c}];
