axesm error line 139
Show older comments
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
Walter Roberson
on 21 Aug 2013
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
on 22 Aug 2013
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
on 22 Aug 2013
Edited: Walter Roberson
on 22 Aug 2013
Answers (1)
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.
Categories
Find more on Geographic Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!