method to get or set contrasts $Id$
0001 function r = contrasts(o, xcon) 0002 % method to get or set contrasts 0003 % 0004 % $Id$ 0005 0006 if nargin < 2 0007 r = get_contrasts(o); 0008 else 0009 % Always refreshes the contrasts for safety 0010 r = set_contrasts(o, xcon); 0011 end