How to solve this Matlab error: "Undefined function 'distance' for input arguments of type "double."

Hi,
I keep getting this error in matlab 2013: "Undefined function 'distance' for input arguments of type "double." Can anyone guid me on what actually went wrong?
Thanks alot,

 Risposta accettata

distance is not a built-in function
If your are using code from someone else than you should also ask them to provide the distance.m file

2 Commenti

and it is probable this one http://www.mathworks.com/matlabcentral/fileexchange/71-distance-m but you should check if this is appropriate for the code you are using
Thank you so much for taking the time to answer my question. I'll check it out.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Functions in Centro assistenza e File Exchange

Prodotti

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

il 11 Giu 2015

Commentato:

il 11 Giu 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by