m_grid problem for MATLAB 2019b

16 views (last 30 days)
Shih Jen Huang
Shih Jen Huang on 2 Nov 2020
Commented: Shih Jen Huang on 5 Nov 2020
I try to run this file but get this error. I have checked the file and set path. if anyone has any ideas that would be a great help, thank you.
clf
LONLIM=[105 135];
LATLIM=[10 40];
m_proj('mercator','long',LONLIM,'lat',LATLIM);
% m_coast;
m_gshhs_i;
m_grid;
Error: File: m_grid.m Line: 602 Column: 107
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Error in tst_map_1 (line 7)
m_grid;

Answers (1)

Rishik Ramena
Rishik Ramena on 4 Nov 2020
The code works fine. A snap of the output is attached for your reference. Try reinstalling the M_Map toolbox. You can find the details here.

Categories

Find more on Chemistry in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!