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
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
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
2013-8-22
编辑:Walter Roberson
2013-8-22
回答(1 个)
Sean de Wolski
2013-8-22
编辑:Sean de Wolski
2013-8-22
Sounds like a path issue.
restoredefaultpath;
rehash toolboxcache;
Does it work now? If so, run: savepath.
类别
在 帮助中心 和 File Exchange 中查找有关 Geographic Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!