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.

Respuestas (2)

Rob Comer
Rob Comer el 17 de Jun. de 2021
Editada: Rob Comer el 21 de Jun. de 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 el 23 de En. de 2019
Editada: Walter Roberson el 23 de En. de 2019
load coast continues to be available from the Mapping Toolbox in R2018a and R2018b.

3 comentarios

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!
coast appears to be in an example in the Boinformatics Toolbox now --
fullfile(matlabroot, 'examples', 'bioinfo', 'data', 'coast.mat')
As the path indicates, the Bioinformatic Toolbox example is using its own copy of coast.mat.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 23 de En. de 2019

Editada:

el 21 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by