필터 지우기
필터 지우기

Worldmap does not work with MATLAB R2018b

조회 수: 2 (최근 30일)
Tatiana Klimiuk
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
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
z_output.jpg
So I would guess you've an installation error?
good luck, Mark.

댓글을 달려면 로그인하십시오.

채택된 답변

Pruthvi Muppavarapu
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.
  댓글 수: 1
Tatiana Klimiuk
Tatiana Klimiuk 2019년 2월 14일
The third option helped, thank you!
I removed MATLAB completely from my computer and installed everything again. The Mapping Toolbox works perfectly now.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by