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

3 views (last 30 days)
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,

Accepted Answer

Ingrid
Ingrid on 11 Jun 2015
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

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!