How to use additional files like e.g. gshhs_h.b, WORLDDATAMAP, etc.?

7 Ansichten (letzte 30 Tage)
I need to plot high-resolution coastline in my maps. So I downloaded gshhs_h.b, compressed it, and put into C:\Program Files\MATLAB\R2012b\toolbox\map\mapdata
Then I tried a command 'filename = unzip('gshhs_h.zip', tempdir);' but I got a reply 'Function UNZIP was unable to find file ''gshhs_h.zip''.'
The same with WORLDDATAMAP. Matlab cannot find it. Do I have to do something special?
Thanks!
  1 Kommentar
Manal NOURI
Manal NOURI am 21 Mai 2021
Bearbeitet: Manal NOURI am 21 Mai 2021
Please could you tell me from where did you download gshhs_h.b !

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Rob Comer
Rob Comer am 23 Mär. 2014
You should first check that the mapdata folder is on your MATLAB path.
You could then try: which gshhs_h.zip
You may need to run: rehash toolbox

Weitere Antworten (0)

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by