enhancement - added error check for cfg.channel='all' in case no input data is specified


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9509 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
restructuring - some small changes to code to clarify the structure, added documentation. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2574


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9510 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
restructuring - some changes in whitespace, nothing functional


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9511 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - copy chantype from input data over to either montage.chantypeorg (inverse=false) or montage.chantypenew (inverse=yes). Idem for chanunit. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2570


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9512 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
automatically synchronized identical files to revision 9512

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9513 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - deal with change in bitget, some cleanups to teh code to make the flow more clear, change in header bitmasking for nchan. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2569


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9514 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
documentation - use consistent documentation format throughout. Removed some empty functions. 


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9515 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - pass tmpcfg.elec or tmpcfg.grad to lower-level function for better info message. http://bugzilla.fcdonders.nl/show_bug.cgi?id=2576


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9516 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - merged github pull request 39: the fix 2548 is supposed to copy over the dim field only when it existed. the submitted solution is flawed in that it never copies over the dim field, even if it existed in the mnigrid structure. the proposed patch solves the issue. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2548


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9517 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - merged pull request 35 from https://github.com/fieldtrip/fieldtrip/pull/35: add cfg.plotselection to only plot those trials present in cfg.trials, use line instead of plot, pass positions in figure to downstream code. Thanks to Ian.


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9518 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - merged pull request 31 from Gio, see https://github.com/fieldtrip/fieldtrip/pull/31. Use xml.epochs instead of xml.epoch, also deal with xml.epoch if present. 


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9519 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - allow the user to abort function execution if cfg.outputfile already exists, using cfg=outputfilepresent=keep/overwrite/error. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2478



git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9520 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
documentation - use consistent comment for ft_checkdata, no functional changes


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9521 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - recompiled mex files on matlab2014a


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9522 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
automatically synchronized identical files to revision 9522

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9523 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
Added flipping option to trigger reading.