<div style="font-family: 'Times New Roman'; font-size: 16px; "><div><br /></div></div><div>Dear Mrtrix experts,</div><div><br /></div><div>I'm using the new matlab function write_mrtrix_tracks.m to generate a tck file containing some arbitrary selected fibers.</div><div>The fibers.count field stores the correct number of fibers,  the problem comes when saving the input fibers to fibers.data, because even when the correct number of fibers is recognized and  apparentely there have been saved all the fibers, the last one is not, the function always saves  count -1 fibers into the fibers.data, so that the last fiber always is somehow ignored to the output tck file.</div><div><br /></div><div>Can anyone help me on it?</div><div><br /></div><div>Best regards,</div><div>Gabriel</div><div><br /></div><div><br />-- <br /></div><div><font size="3">--------------------------<br />PhD. student Gabriel González-Escamilla<br />Laboratory of Functional Neuroscience<br />Department of Physiology, Anatomy, and Cell Biology<br />University Pablo de Olavide<br />Ctra. de Utrera, Km.1<br />41013 - Seville<br />- Spain -<br /><br />Email: ggonesc@upo.es<br />http://www.upo.es/neuroaging/es/</font></div>