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

2 views (last 30 days)
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('', tempdir);' but I got a reply 'Function UNZIP was unable to find file ''''.'
The same with WORLDDATAMAP. Matlab cannot find it. Do I have to do something special?
  1 Comment
Manal NOURI on 21 May 2021
Edited: Manal NOURI on 21 May 2021
Please could you tell me from where did you download gshhs_h.b !

Sign in to comment.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!