How to solve this Matlab error: "Undefined function 'distance' for input arguments of type "double."
10 views (last 30 days)
Show older comments
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,
0 Comments
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
2 Comments
Ingrid
on 11 Jun 2015
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
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!