How to solve this Matlab error: "Undefined function 'distance' for input arguments of type "double."
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
rasool
el 11 de Jun. de 2015
Comentada: rasool
el 11 de Jun. de 2015
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 comentarios
Respuesta aceptada
Ingrid
el 11 de Jun. de 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 comentarios
Ingrid
el 11 de Jun. de 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
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!