function res = sconfounds(this, newsconfounds, append) % Method for getting/setting spatial confounds % FORMAT res = sconfounds(this, newsconfounds) % _______________________________________________________________________ % Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging % Vladimir Litvak % $Id: sconfounds.m 6437 2015-05-14 12:27:21Z vladimir $ if nargin >= 2 meegind = indchantype(this, 'MEEG'); [sel1, sel2] = match_str(chanlabels(this, meegind), newsconfounds.label); sel1 = meegind(sel1); if length(sel1)