help > WFU_Pickatlas results window
Showing 1-7 of 7 posts
Display:
Results per page:
Feb 14, 2012  12:02 PM | Eve Isham
WFU_Pickatlas results window
Hello!
I was hoping someone could help with this issue.  I eventually need to get the mean t statistics of the ROI analysis.
I believe this information can be extracted in the WFU_Pickatlas results window.  But, I'm having trouble reading the SPM file here.  Some of the error messages are posted below.  I would appreciate any help on this!

Thank you!
eve



14-Feb-2012 04:09:17 | INFO       | loadSelect.m                   | MException thrown. Stack follows:
14-Feb-2012 04:09:17 | INFO       | loadSelect                     | Line 0161: Invalid handle object.
14-Feb-2012 04:09:17 | INFO       | File_Open_Callback             | Line 0467
14-Feb-2012 04:09:17 | INFO       | gui_mainfcn                    | Line 0096
14-Feb-2012 04:09:17 | INFO       | wfu_results_viewer             | Line 0070
14-Feb-2012 04:09:17 | INFO       | @(hObject,eventdata)wfu_results_viewer('File_Open_Callback',hObject,eventdata,guidata(hObject)) | Line 0000
14-Feb-2012 04:09:17 | ERROR      | wfu_results_viewer.m           | MException thrown. Stack follows:
14-Feb-2012 04:09:17 | ERROR      | loadSelect                     | Line 0167: Too many input arguments.
14-Feb-2012 04:09:17 | ERROR      | File_Open_Callback             | Line 0467
14-Feb-2012 04:09:17 | ERROR      | gui_mainfcn                    | Line 0096
14-Feb-2012 04:09:17 | ERROR      | wfu_results_viewer             | Line 0070
14-Feb-2012 04:09:17 | ERROR      | @(hObject,eventdata)wfu_results_viewer('File_Open_Callback',hObject,eventdata,guidata(hObject)) | Line 0000
Feb 14, 2012  02:02 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: WFU_Pickatlas results window
Hello Eve,
  Could you please detail the following information:

Are you trying to open an SPM.mat file or some other results statistics (FSL, AFNI, etc)?
What Matlab and Operating Sytem are you using?
This looks like an error from SPM8/PickAtlas 3 series.  Is this correct?

Thanks,
Ben
Feb 14, 2012  03:02 PM | Eve Isham
RE: WFU_Pickatlas results window
Hi Ben
Yes, I'm trying to open an SPM.mat file
This is on Mac os
and, you're correct, it's SPM8 using the PickAtlas 3.

Thank you so much for replying!

eve
Feb 14, 2012  04:02 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: WFU_Pickatlas results window
Hi Eve,
  I think I see where the problem may be.  Would you mind posting the output of the following commands:

%cd to the directory containing your SPM.mat
load SPM.mat
SPM.Sess.U
length(SPM.Sess.U)

Thanks,
Ben
Feb 14, 2012  06:02 PM | Eve Isham
RE: WFU_Pickatlas results window
Hi again,
Here's the output when trying to get the length of the spm.mat:

>> load SPM.mat
SPM.Sess.U
length(SPM.Sess.U)

ans =

1x4 struct array with fields:
    name
    ons
    dur
    P
    dt
    u
    pst


ans =

1x4 struct array with fields:
    name
    ons
    dur
    P
    dt
    u
    pst


ans =

1x4 struct array with fields:
    name
    ons
    dur
    P
    dt
    u
    pst

??? Error using ==> length
Too many input arguments.
Feb 14, 2012  06:02 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: WFU_Pickatlas results window
Hi Eve,

Well, that does explain the problem.   If you don't need the paradigm overlay function you could try commenting out lines 157 through 176 in wfu_results/private/loadSelect.m.  If that disables functionality you need, please let me know and I'll try to update that.

Ben
Feb 14, 2012  07:02 PM | Eve Isham
RE: WFU_Pickatlas results window
Hi Ben,
thanks a million!  It's running now :)

eve