conditions.m 468 B

1234567891011121314
  1. function res = conditions(this, varargin)
  2. % Method for getting condition labels, over trials
  3. % FORMAT res = conditions(this, ind, conditionlabels)
  4. % _______________________________________________________________________
  5. % Copyright (C) 2008-2012 Wellcome Trust Centre for Neuroimaging
  6. % Vladimir Litvak
  7. % $Id: conditions.m 5025 2012-10-31 14:44:13Z vladimir $
  8. res = getset(this, 'trials', 'label', varargin{:});
  9. if nargin == 1 && ~iscell(res)
  10. res = {res};
  11. end