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,

 Réponse acceptée

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 commentaires

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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Functions dans Centre d'aide et File Exchange

Produits

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by