help > export stats error
Showing 1-5 of 5 posts
Display:
Results per page:
Jan 16, 2012  03:01 PM | Sarah Buetof
export stats error
Whenever I try to save the table for the ROI-to-ROI analysis, I get following error message:

??? Reference to non-existent field 'opt'.

Error in ==> conn_exporttable at 25
        fprintf(fh,'%-36s%10s%10s%12s%12s\n','Targets','beta',['T(',num2str(CONN_h.menus.m_results.opt.dof(1)),')'],'p-unc','p-FDR');
??? Error while evaluating uimenu Callback

Any Ideas?

THANKS
Jan 17, 2012  03:01 AM | Alfonso Nieto-Castanon - Boston University
RE: export stats error
Hi Sarah,

Thaks for reporting this bug. Could you please try the attached patch? (simply save this file in the conn folder overwriting the file with the same name there). I believe this should fix this issue but please let me know otherwise

Thanks
Alfonso
Originally posted by Sarah Buetof:
Whenever I try to save the table for the ROI-to-ROI analysis, I get following error message:

??? Reference to non-existent field 'opt'.

Error in ==> conn_exporttable at 25
        fprintf(fh,'%-36s%10s%10s%12s%12s\n','Targets','beta',['T(',num2str(CONN_h.menus.m_results.opt.dof(1)),')'],'p-unc','p-FDR');
??? Error while evaluating uimenu Callback

Any Ideas?

THANKS
Attachment: conn_exporttable.m
Jan 18, 2012  06:01 PM | Sarah Buetof
RE: export stats error
I have tried your solution and got following error:

??? Attempted to access CONN_h.menus.m_results.roiresults.idx(85); index out of bounds because
numel(CONN_h.menus.m_results.roiresults.idx)=84.

Error in ==> conn_exporttable at 37
            n2=CONN_h.menus.m_results.roiresults.idx(n1);
 
??? Error while evaluating uimenu Callback

When I tried to export stats as a mat-file I thought it had worked in the first place. But then I realized that not the altered values (due to selection of ROIs) but only the original values with the exception of the value of the unselected ROIs had been saved into the mat-file. Any ideas on that?

Thanks again.
Jan 18, 2012  07:01 PM | Alfonso Nieto-Castanon - Boston University
RE: export stats error
Hi Sarah,

Sorry about that, I believe the attached patch should fix both of these issues. Please let me know

Best
Alfonso
Originally posted by Sarah Buetof:
I have tried your solution and got following error:

??? Attempted to access CONN_h.menus.m_results.roiresults.idx(85); index out of bounds because
numel(CONN_h.menus.m_results.roiresults.idx)=84.

Error in ==> conn_exporttable at 37
            n2=CONN_h.menus.m_results.roiresults.idx(n1);
 
??? Error while evaluating uimenu Callback

When I tried to export stats as a mat-file I thought it had worked in the first place. But then I realized that not the altered values (due to selection of ROIs) but only the original values with the exception of the value of the unselected ROIs had been saved into the mat-file. Any ideas on that?

Thanks again.
Attachment: conn_exporttable.m
Jan 18, 2012  07:01 PM | Sarah Buetof
RE: export stats error
It works.
THANKS