Where did you get the ct from?
From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu>
On Behalf Of 1248742467
Sent: Thursday, October 22, 2020 7:25 AM
To: freesurfer <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] The non-existent field'numEntries' is referenced.(write_annotation.m)
External Email - Use Caution
hello, fs
when i use the write_annotation.m, the error message occurs:
`The non-existent field'numEntries' is referenced.
Error write_annotation (line 62)
count = fwrite(fp, int32(ct.numEntries),'int');
Error test_1 (line 13)
write_annotation('rh.aparc.a2009s.annot', c, b, ct)`
How to solve the non-existent field'numEntries' is referenced?By the way, can ct change automatically according to the value of label?