Re: [Freesurfer] Error with write_annotation program !

2020-07-15 Thread Tim Schäfer
External Email - Use Caution I tried reading and writing lh.aparc.annot of bert, and it works ONLY if you change the output filename by adding a file extension. Try write_annotation('lh_Yeo2011_DMN.annot',v,L,ct); Tim > On July 15, 2020 at 3:56 PM "Douglas N. Greve" wrote

Re: [Freesurfer] Error with write_annotation program !

2020-07-15 Thread Douglas N. Greve
Does it work if you take out that change to ct.table? On 7/15/2020 3:34 AM, Martin Juneja wrote: 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_7Netwo

[Freesurfer] Error with write_annotation program !

2020-07-15 Thread Martin Juneja
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); Erro