Worldmap function is not working?
조회 수: 6 (최근 30일)
이전 댓글 표시
I'm trying to create a simple map displaying the locations of various climate monitoring stations, using the following code:
%%
figure(4)
clf
worldmap world
load coastlines
plotm(coastlat,coastlon,'k-')
loc=find(in_Tropics_mask);
plotm(metadata.Lat(loc),metadata.Lon(loc),'k.','markersize',15)
However, I keep getting the following error:
Undefined function 'worldmap' for input arguments of type 'char'.
Any help would be appreciated.
댓글 수: 0
답변 (1개)
Steven Lord
2018년 11월 18일
The worldmap function is part of Mapping Toolbox. Check the output of the ver function to see if you have this toolbox installed.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!