https://la.mathworks.com/help/bioinfo/ref/seqpdist.html
seqpdist - Calculate pairwise distance between sequences - MATLAB
This MATLAB function returns the biological distances between each pair of sequences stored in Seqs.
distance betweencalculatepairwisesequencesmatlab