Undefined function 'm_lldist' for input arguments of type 'double'.

1 view (last 30 days)
Hi there, I have put the line of code below in with the rest of my code and this was flagged up with the question above.
driftdistance1 = m_lldist(lat1, lon1)*1000;
this error comes up however I can't see where i have gone wrong?
any help?
  1 Comment
Geoff Hayes
Geoff Hayes on 13 Jan 2015
Olly - you may want to visit the site http://www.eos.ubc.ca/~rich/map.html which seems to provide his mapping code. If you already have this package, then in the Command Window type
which m_lldist -all
to see where in the MATLAB path this file can be found in. If not found, then add the folder/directory that has this file to your MATLAB search path.

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!