axesm error line 139

I have been trying to use axesm but keep running into the same error regardles of the setting I have on axesm.
Undefined function 'checkellipsoid' for input arguments of type 'double'.
Error in resetmstruct (line 29) checkellipsoid(mstruct.geoid, 'resetmstruct', 'mstruct.geoid');
Error in axesm (line 139) mstruct = resetmstruct(mstruct);
I am literally copying examples from help pages and such. I can't plot what I want to without getting this command to work, so I am wondering what I missed.

댓글 수: 3

Walter Roberson
Walter Roberson 2013년 8월 21일
Which MATLAB version are you using? And please show your code that invokes axism (we do not know which help page you are using)
Image Analyst
Image Analyst 2013년 8월 22일
Type ver on the command line to see what toolboxes you have. Then paste the results here but delete your license number after you paste it in. Sometimes some examples require other toolboxes, like this one from the Image Processing Toolbox that also requires the Statistical Toolbox.
Meredith
Meredith 2013년 8월 22일
편집: Walter Roberson 2013년 8월 22일
I am using version 2013a though I tried the command out on 2012b and saw the same issue..
commands used (and I was testing this out on command line to determine what I wanted for my code)
axesm
axesm('globe', 'Grid', 'on)
axesm('mercator','MapLatLimit',[-70 80])
axesm('MapProjection','mercator','MapLatLimit',[-70 80])
and recieved the same error each time.
My goal is to plot satellite tracking data over a blank globe grid. I have alt, lat and long vectors. I wanted to use the lat, long as teh x and y coordinates and the alt as the color depth. I have several to plot. I can figure out the rest, but from everything I read, I need axesm to work. Also I have been using help and the website as well.

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

답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 8월 22일
편집: Sean de Wolski 2013년 8월 22일

0 개 추천

Sounds like a path issue.
restoredefaultpath;
rehash toolboxcache;
Does it work now? If so, run: savepath.

댓글 수: 2

Meredith
Meredith 2013년 8월 22일
unfortunately no, this did not change the issue. I appreciate the suggestion though.
Sean de Wolski
Sean de Wolski 2013년 8월 22일
Contact technical support.

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

카테고리

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

질문:

2013년 8월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by