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

57 vues (au cours des 30 derniers jours)
Srikar K
Srikar K le 23 Jan 2019
Modifié(e) : Rob Comer le 21 Juin 2021
I have to plot world map, but load coast command is not executable in MATLAB 2018a version,
Please suggest the best possible alternative.
  1 commentaire
Rik
Rik le 23 Jan 2019
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

Connectez-vous pour commenter.

Réponses (2)

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

Connectez-vous pour commenter.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by