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 ExchangeGeographic 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