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

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


No tags entered yet.


Community Treasure Hunt

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

Start Hunting!