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

I have to plot world map, but load coast command is not executable in MATLAB 2018a version,
Please suggest the best possible alternative.

1 件のコメント

Rik
Rik 2019 年 1 月 23 日
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

サインインしてコメントする。

回答 (2 件)

Rob Comer
Rob Comer 2021 年 6 月 17 日
編集済み: Rob Comer 2021 年 6 月 21 日

1 投票

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 日

0 投票

load coast continues to be available from the Mapping Toolbox in R2018a and R2018b.

3 件のコメント

Cathie Wells
Cathie Wells 2021 年 5 月 20 日
I am currently trying to use it in 2021a and it seems to have disappeared. I was on 2020a before and it worked fine then. Any idea how I can get it back please? Halfway through a paper and I need to tweak my plots!
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeFile Compression についてさらに検索

タグ

質問済み:

2019 年 1 月 23 日

編集済み:

2021 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by