make sure to add the following lines to your ~/matlab/startup.m

FSH = getenv('FREESURFER_HOME');
fshmatlab = sprintf('%s/matlab',FSH);
path(path,fshmatlab);
clear fshmatlab FSH;

doug

On 03/28/2013 03:48 PM, Mario Ortega wrote:
> Hi Freesurfer group, Im attempting to use FS-FAST with resting BOLD 
> data, and I have come across the following error.
> I tried changing files to non .gz extension, and still have this error..
>
> $Id: fast_selxavg3.m,v 1.100 2011/03/02 16:14:38 greve Exp $
> `fast_selxavg3' is a script from the file 
> /usr/local/freesurfer/fsfast/toolbox/fast_selxavg3.m
> `fast_ldanaflac' is a function from the file 
> /usr/local/freesurfer/fsfast/toolbox/fast_ldanaflac.m
> -------------------------
> outtop = /media/GOLDIN/FSFAST
> Extension format = nii.gz
> error: `MRIread' undefined near line 87 column 7
> error: called from:
> error:   /usr/local/freesurfer/fsfast/toolbox/flac_customize.m at line 
> 87, column 5
> error:   /usr/local/freesurfer/fsfast/toolbox/fast_selxavg3.m at line 
> 65, column 7
> ------------------------------------------
>
> When I attempt to use fast_selxavg3 standalone in octave, I get this 
> error.
>
> octave:1> fast_selxavg3;
> error: `sess' undefined near line 26 column 19
> error: evaluating argument list element number 1
> error: evaluating argument list element number 1
> error: called from:
> error:   /usr/local/freesurfer/fsfast/toolbox/fast_selxavg3.m at line 
> 26, column 8
>
> thanks,
> Mario Ortega
> GS4 Washington University in St. Louis, Dept. of Neurology
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to