% load a GLM (only needed if not yet loaded!) glm = xff('*.glm', 'Please select the single-study GLM...'); % create the contrast contrast = glm.SingleStudy_tMap([0;1;1;1;0]); % name the contrast contrast.Map.Name = 'Motion in any visual field'; % save the contrast contrast.SaveAs; % clean up contrast.ClearObject; glm.ClearObject;