worldmap not working
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am just learning how to use the mapping toolbox, but the most basic example will not work for me:
worldmap('North America')
??? Undefined function or method 'fromDegrees' for input arguments of type
'char'.
Error in ==> eqdconic>eqdconicDefault at 41
mstruct.mapparallels = fromDegrees(mstruct.angleunits, [15 75]);
Error in ==> applyProjection at 10
outputs{1} = mproj.default(varargin{1});
Error in ==> eqdconic at 33
varargout = applyProjection(mproj, varargin{:});
Error in ==> defaultm at 41
mstruct = feval(mstruct.mapprojection,mstruct);
Error in ==> regionmap>constructMapAxesWorld at 530
mstruct = defaultm(projection);
Error in ==> regionmap at 103
h = constructMapAxes(latlim, lonlim);
Error in ==> worldmap at 113
ax = regionmap(mfilename, varargin{:});
Can anyone help me with this. I already double checked to make sure the mapping toolbox is on my Matlab path.
Thanks, Dan
2 Commenti
Walter Roberson
il 6 Gen 2012
Does
which -all fromDegrees
return anything for you? I would expect to see something under the mapping toolbox for it.
Which MATLAB version are you using?
Risposte (1)
Rob Comer
il 6 Gen 2012
Relative to your MATLAB root directory, the fromDegrees function should be located in toolbox/shared/maputils. This is true in all recent versions, including R2010a (which corresponds to MATLAB 7.10).
Is this folder on your path? It should be, if Mapping Toolbox is properly installed. Perhaps there is something wrong with your installation.
0 Commenti
Vedere anche
Categorie
Scopri di più su Text Data Preparation in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!