you can get that function from here ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/mkcontrast2m.m copy it to $FREESURFER_HOME/fsfast/toolbox
On 05/19/2016 10:55 AM, José Paredes Pacheco wrote:
Hi Freesurfers
I am doing FSFAST with my own data and have a problem. After I run mkanalysis-sess command succesfully, I try to run mkcontrast-sess command but I get an error during the process. The text in my terminal window is the following:
root@usuario2:/home/usuario2... mkcontrast-sess -analysis event.sm5.lh -contrast NW-mayor-Rest -c 1 -a 2
INFO: Found 2 Non-Null Conditions INFO: Found 1 Delays Condition Weights: -1.00000000000000000000 1.00000000000000000000 mkcontrast2 -config event.sm5.lh/NW-mayor-Rest.config -anadir event.sm5.lh -wcond -1.00000000000000000000 1.00000000000000000000 -sumconds -o event.sm5.lh/NW-mayor-Rest.mat -wdelay 1 -no-octave $Id: mkcontrast2,v 1.2 2015/12/10 22:51:30 zkaufman Exp $ cmtxfile event.sm5.lh/NW-mayor-Rest.mat nconds 2, wcond -1.00000000000000000000 1.00000000000000000000 ndelays 1, wdelay 1 ndelays 1, wpsa sumconds 1 sumdelays 0 nircorr 0 TER 0.050000 rdelta rtau cmtxfile event.sm5.lh/NW-mayor-Rest.mat monly 0 NCond 2 WCond -1.00000000000000000000 1.00000000000000000000 NDelay 1 WDelay 1 TER 0.050000 sumconds 1 sumdelays 0 nircorr 0 TPreStim 0 RmPreStim 0 rdelta 0 0 rtau 0 0 ndelays 1 CNorm 1 setwdelay 0 setwcond 0 Matlab file is /tmp/mkcontrast2.10601.m MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) > Copyright 1984-2015 The MathWorks, Inc. R2015b (8.6.0.267246) 64-bit (glnxa64) August 20, 2015To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com http://www.mathworks.com.
Academic License
Undefined function or variable 'mkcontrast2m'. jue may 19 16:28:24 CEST 2016
root@usuario2:/home/usuario2...
It doesn't find the function or variable 'mkcontrast2m' and I don't know what I have to do.
Can somebody help me?
Thanks you in advance.
All the best,
José
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer