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 comentarios

Walter Roberson
Walter Roberson el 21 de Ag. de 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 el 22 de Ag. de 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 el 22 de Ag. de 2013
Editada: Walter Roberson el 22 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 22 de Ag. de 2013
Editada: Sean de Wolski el 22 de Ag. de 2013

0 votos

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

2 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre Geographic Plots en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 21 de Ag. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by