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

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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

질문:

2014년 3월 19일

편집:

2021년 5월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by