I encountered a small problem when running m_gshhs_i after installing High Precision Shoreline GSHHS
First, review the installation method:
Step1:
Download GSHHS coastlines and WDBII rivers/borders in native binary format ( zip archive )‘gshhs+wdbii_2.2.0.zip’ from http://www.soest.Hawaii.edu/pwessel/gshhs/Step 2:
unzip the zip file to the (……\MATLAB\toolbox\m_map\private) path
If there is no problem using m_gshhs_i in matlab after the above two steps, then there is no need to perform the operation and just use it normally. If the error is reported using m_gshhs_i as follows.
WARNING: Coastline file private/gshhs_i.b not found \n(Have you installed it?See the M_Map User's Guide for details)\n ---Using default coastline instead
Then we need to go to ……\MATLAB\toolbox\m_map\path to find the m_gshhs.m file, open it and find
FILNAME='private/gshhs_i.b';
Modify it with:
FILNAME='private\';
After saving, use m_gshhs_i again and find that it works fine. If it does not work properly after modification, then try modifying it to
FILNAME='The path to matlab on your computer\MATLAB\toolbox\m_map\private\';
At this time, it can be used normally m_gshhs_i.
Read More:
- M1 Computer: How to Solve pod update
- How to Solve Xcode M1 simulator Error
- Apple M1: How to Solve Spark runs Error
- How to Solve Error: Error running ‘__rvm_make -j8‘ (Mac M1 BigSur)
- M1 MacBook cannot use pip to install pandas [How to Solve]
- [Solved] cortex_M3 freeRTOS Error: undefined reference to `_sbrk‘
- How to Solve Error: Type mismatch: cannot convert from Object to Car
- How to Solve “License Manager Error -8” Error After MATLAB2018a is Installed
- How to Solve elasticsearch and logstash Install Error
- How to Solve Fopen bus error
- How to Solve elasticsearch-7.15.1 operation errors
- [MAC] How to Solve zsh Error: command not found: umi
- How to Solve Error: Cannot find the declaration of element ‘beans’.
- How to Solve Svn upload so File Error
- How to Solve Docker failed to initialize Error
- How to Solve Error: Failed to load ApplicationContext
- How to Solve Nginx 413 Error (request entity too large)
- How to Solve Nginx cross compilation Error
- [app] install and compile libimobililedevice, How to solve the error
- How to Solve Redis Cluster Build Error