External Email - Use Caution
Hi FreeSurfer experts,
I am trying to run write_annonation program in MATLAB and getting following error:
[v, L, ct] = read_annotation('lh.Yeo2011_7Networks_N1000.annot'); ct.table(1:6,1:3) = 1; write_annotation('lh_Yeo2011_DMN',v,L,ct);
Error using fwrite Invalid file identifier. Use fopen to generate a valid file identifier.
Error in write_annotation (line 55) count = fwrite(fp, int32(length(label)), 'int');
I would really appreciate any help in resolving this issue.
Thanks !