Unrecognized function or variable 'longitudeToIntrinsicX'.

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

 채택된 답변

Walter Roberson
Walter Roberson 2023년 1월 16일

0 개 추천

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.

댓글 수: 1

Dear Walter,
Thank you for your fast reply.
R is not empty, see below. However, now I am wondering if I work in the wrong Coordinate system. Perhaps I can only work in WGS84?
all the best
Robert

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Geographic Plots에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2023년 1월 16일

댓글:

2023년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by