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 Comments

Which MATLAB version are you using? And please show your code that invokes axism (we do not know which help page you are using)
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 on 22 Aug 2013
Edited: Walter Roberson on 22 Aug 2013
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.

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 22 Aug 2013
Edited: Sean de Wolski on 22 Aug 2013
Sounds like a path issue.
restoredefaultpath;
rehash toolboxcache;
Does it work now? If so, run: savepath.

2 Comments

Meredith
Meredith on 22 Aug 2013
unfortunately no, this did not change the issue. I appreciate the suggestion though.
Contact technical support.

Sign in to comment.

Categories

Products

Asked:

on 21 Aug 2013

Community Treasure Hunt

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

Start Hunting!