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

3 ビュー (過去 30 日間)
Svetlana Karimova
Svetlana Karimova 2014 年 3 月 19 日
編集済み: Manal NOURI 2021 年 5 月 21 日
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 件のコメント
Manal NOURI
Manal NOURI 2021 年 5 月 21 日
編集済み: Manal NOURI 2021 年 5 月 21 日
Please could you tell me from where did you download gshhs_h.b !

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

採用された回答

Rob Comer
Rob Comer 2014 年 3 月 23 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by