method to set image vols to design $Id%
0001 function marsD = set_images(marsD, VY) 0002 % method to set image vols to design 0003 % 0004 % $Id% 0005 0006 if nargin < 2 0007 error('Need image volumes'); 0008 end 0009 D = des_struct(marsD); 0010 D.xY.VY = VY; 0011 D.xY.P = strvcat(VY(:).fname); 0012 marsD = des_struct(marsD, D);