
Worldmap does not work with MATLAB R2018b
5 ビュー (過去 30 日間)
古いコメントを表示
Tatiana Klimiuk
2019 年 2 月 3 日
コメント済み: Tatiana Klimiuk
2019 年 2 月 14 日
Dear MATLAB experts,
I installed the Mapping toolbox for my MATLAB R2018b and trying to use the WORLDMAP function, but it gives me an error:
>> worldmap world
Error using axesm (line 140)
Unrecognized property: Spheroid
Error in regionmap>constructMapAxesWorld (line 488)
ax = axesm(...
Error in regionmap (line 107)
h = constructMapAxes(latlim, lonlim, e);
Error in worldmap (line 122)
ax = regionmap(mfilename, varargin);
Thank you in advance!
1 件のコメント
Mark Brandon
2019 年 2 月 3 日
I don't get that error Tatiana.
I'm running 2018b:
MATLAB Version: 9.5.0.944444 (R2018b)
Mapping Toolbox Version 4.7 (R2018b)
The three lines of code in the help
worldmap('World')
load coastlines
plotm(coastlat,coastlon)
produce the image in the help

So I would guess you've an installation error?
good luck, Mark.
採用された回答
Pruthvi Muppavarapu
2019 年 2 月 13 日
編集済み: Pruthvi Muppavarapu
2019 年 2 月 13 日
Try any of the following:
1. Run "which -all" command to the handle to see if the command is shadowed in MATLAB search path .
2. Try adding "figure" before running the "worldmap" command
3. Re-install MATLAB and the issue was resolved.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!