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 Kommentare

Walter Roberson
Walter Roberson am 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
Image Analyst am 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
Meredith am 22 Aug. 2013
Bearbeitet: Walter Roberson am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sean de Wolski
Sean de Wolski am 22 Aug. 2013
Bearbeitet: Sean de Wolski am 22 Aug. 2013

0 Stimmen

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

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Geographic Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 21 Aug. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by