get number of effects (columns) in design $Id$
0001 function n = n_effects(o) 0002 % get number of effects (columns) in design 0003 % 0004 % $Id$ 0005 0006 SPM = des_struct(o); 0007 n = size(SPM.xX.X, 2);