Tract length matrix of structrual connectome

Hi MRtrix experts,

I am going to do some research with The Virtual Brain, and the software needs 2 structrual matrices (a weights connection matrix and a distance matrix) as the input.

I believe the MRtrix3 is able to obtain the structrual matrix of weights connection matrix, but I am confused about how to get the distance matrix. Could MRtrix3 also get this matrix?

Appreciate for any helps!!

Dear @Zong
In the tck2connectome page and under the Example usages section you can see an example for creating the streamline length measurement:

$ tck2connectome tracks.tck nodes.mif distances.csv -scale_length -stat_edge mean

The command is basically scales the streamlines by their length.