Worldmap function is not working?
3 ビュー (過去 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!