Do you have matlab installed? And is it in your path?
On 10/31/2020 5:30 AM, Nina Khatibi wrote:
External Email - Use Caution
Hi,
I'm trying to use mkcontrast, but there's an error which I'll send
below. I couldn't find any solution to solve it, I hope you help me
fix this issue.
I'm using freesurfer-darwin-macOS-7.1.1-20200811-8b40551 , on my
macbook pro 2018, macOS Mojave 10.14.6
I run
"mkcontrast-sess -analysis mpk.fsaverage5Con.lh -contrast NorthSouth
-a 4 -c 3"
and these appear:
INFO: Found 5 Non-Null Conditions
INFO: Found 1 Delays
Condition Weights: 0 0 -1.00000000000000000000 1.00000000000000000000 0
mkcontrast2 -config mpk.fsaverage5Con.lh/NorthSouth.config -anadir
mpk.fsaverage5Con.lh -wcond 0 0 -1.00000000000000000000
1.00000000000000000000 0 -sumconds -o
mpk.fsaverage5Con.lh/NorthSouth.mat -prestim 0 -wdelay 1 -no-octave
mkcontrast2 7.1.1
cmtxfile mpk.fsaverage5Con.lh/NorthSouth.mat
nconds 5, wcond 0 0 -1.00000000000000000000 1.00000000000000000000 0
ndelays 1, wdelay 1
ndelays 1, wpsa
sumconds 1
sumdelays 0
nircorr 0
TER 0.050000
rdelta
rtau
cmtxfile mpk.fsaverage5Con.lh/NorthSouth.mat
monly 0
NCond 5
WCond 0 0 -1.00000000000000000000 1.00000000000000000000 0
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.2236.m
------- matlab output --------------------
MATLAB: Undefined variable.
ERROR running mkcontrast
mkcontrast2 -config mpk.fsaverage5Con.lh/NorthSouth.config -anadir
mpk.fsaverage5Con.lh -wcond 0 0 -1.00000000000000000000
1.00000000000000000000 0 -sumconds -o
mpk.fsaverage5Con.lh/NorthSouth.mat -prestim 0 -wdelay 1 -no-octave
Thanks,
Nina
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer