Print

Print


Can you try replacing FSFAST2SPM with the attached version and let me know
if you still get the error. If you still get the error, please send me the
SPM.mat that is generated by FSFAST2SPM.


Best Regards,
Donald McLaren, PhD


On Tue, Oct 27, 2015 at 10:42 AM, Afzal, Afsana <[log in to unmask]>
wrote:

> Hi everyone,
>
> I'm trying to run gPPI analysis on first levels done in FSFAST using the
> PPPI_FSFAST_WRAPPER and the  FSFAST2SPM script. I'm running into the
> following error in Matlab:
>
> Reference to non-existent field 'W'.
>
> Error in PPPI (line 668)
>         W      = SPM.xX.W(Sess.row,Sess.row);
>
> Error in PPPI_FSFAST_WRAPPER (line 101)
>             PPPI([Directory filesep Subjects{ii} '_PPI_config.mat'])
>
> Looks like the SPM.xX.W field is never declared, hence the error.
> According to the comments in PPPI, the 'W' field specifies the
> "whitening matrix (NB: confounds have already been whitened)".
>
> I've tried initializing the SPM.xX.W field in the FSFAST2SPM wrapper, in
> the "Fill in SPM Structure" section, but still end up with the same error.
> Where should this field be initialized?
>
> Thanks for your help,
>
> Afsana
>
>
> ______________________________
> *Afsana Afzal*
> Clinical Research Coordinator
> Massachusetts General Hospital
> Division of Neurotherapeutics
> Department of Psychiatry: Neurosciences
> 149 13th St, Room 2612
> Charlestown, MA 02129
> Phone: 617-643-5129
> Fax: 617-726-4078
>
> 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.
>