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

34 views (last 30 days)
I have to plot world map, but load coast command is not executable in MATLAB 2018a version,
Please suggest the best possible alternative.

Answers (2)

Rob Comer
Rob Comer on 17 Jun 2021
Edited: Rob Comer on 21 Jun 2021
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 on 23 Jan 2019
Edited: Walter Roberson on 23 Jan 2019
load coast continues to be available from the Mapping Toolbox in R2018a and R2018b.
  3 Comments
Walter Roberson
Walter Roberson on 20 May 2021
coast appears to be in an example in the Boinformatics Toolbox now --
fullfile(matlabroot, 'examples', 'bioinfo', 'data', 'coast.mat')
Rob Comer
Rob Comer on 17 Jun 2021
As the path indicates, the Bioinformatic Toolbox example is using its own copy of coast.mat.

Sign in to comment.

Categories

Find more on Weather and Atmospheric Science in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!