load coast command not executing in 2018a, pls. suggest an alternative

32 次查看(过去 30 天)
I have to plot world map, but load coast command is not executable in MATLAB 2018a version,
Please suggest the best possible alternative.

回答(2 个)

Rob Comer
Rob Comer 2021-6-17
编辑:Rob Comer 2021-6-21
Beginning in R2020b, coast.mat is no longer available in Mapping Toolbox. Please use its replacement, coastlines.mat, instead. The content is the same, but the coordinate variables now have less generic names: coastlat and coastlon instead of lat and long, respectively.

Walter Roberson
Walter Roberson 2019-1-23
编辑:Walter Roberson 2019-1-23
load coast continues to be available from the Mapping Toolbox in R2018a and R2018b.
  3 个评论
Walter Roberson
Walter Roberson 2021-5-20
coast appears to be in an example in the Boinformatics Toolbox now --
fullfile(matlabroot, 'examples', 'bioinfo', 'data', 'coast.mat')
Rob Comer
Rob Comer 2021-6-17
As the path indicates, the Bioinformatic Toolbox example is using its own copy of coast.mat.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by