topics - functions - index - search

SpmGetReadContrastsExample.m

Copyright 2004 Markus Junghöfer & Peter Peyk. All Rights Reserved.
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE
OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT,
INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE
OR DOCUMENTATION.
---------------------------------------------------------------
Rename spm_get.m to spm_get.old and copy the new spm_get.m in the spm folder
Adapt the BasePath (line 50) of this m-file to your spm stats folder system
Save this file in a folder of your Matlab search path or use File/Set Path in order to add the m-file containing folder to your search path
Define a new folder with last three letters specifying a contrast number you would like to analyse
e.g. PosGTNeg_002 or NegGTPos_003 (since first contrast is f tested effect of interest do not use *001)
Start spm and choose this specified folder as working directory
Start e.g. Basic models and choose Simple t-test
Click on m-File in the top menu of spm-get and pick this file (or any other file matrix specifying files)