Undefined function or variable 'equivar' when calling seqneighjoin function in Matlab -
this simple code, cannot figure out why undefined function or variable error here. code follows.
>>clear; >> d=[4,2,5,4,5,5]; >>z=seqneighjoin(d,equivar); the error:
undefined function or variable 'equivar'. equivar 1 method associated seqneighjoin method. don't know why produces error. can help? appreciate time , attention.
the correct usage of feeding parameter in use string. call function follows.
z = seqneighjoin( d, 'equivar' ); the full code here
d = [4,2,5,4,5,5]; z = seqneighjoin( d, 'equivar' ); after executing, results here
z phylogenetic tree object 4 leaves (3 branches)
Comments
Post a Comment