Unrecognized function or variable 'longitudeToIntrinsicX'.
7 views (last 30 days)
Show older comments
Robert Kenner
on 16 Jan 2023
Commented: Robert Kenner
on 16 Jan 2023
Hello,
I wrote the code below in Matlab 2020b, using the documented Matlab function 'longitudeToIntrinsicX' and receive this error message
" Unrecognized function or variable 'longitudeToIntrinsicX' "
I have installed Mapping and image processing toolboxes. x&y are numeric. How is it possible that Matlab does not recognise this funktion? Can anybody help?
Thank you so much!
Robert

0 Comments
Accepted Answer
Walter Roberson
on 16 Jan 2023
I predict that your R returned from readgeoraster is empty or else that the file refers to projected coordinates.
readgeoraster can return empty R, or a Geographic reference object, or a Map reference object. The function you are trying to use is a class method only for Geographic reference objects, and would not be found for empty R or Map reference objects.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!