voi_betas = glm.VOIBetas(voi); %or to get all the beta maps not limited to a voi betas = glm.GLMData.Subject(S).BetaMaps(:,:,:,:);