m_grid problem for MATLAB 2019b

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;

回答 (1 件)

Rishik Ramena
Rishik Ramena 2020 年 11 月 4 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeParticle & Nuclear Physics についてさらに検索

タグ

質問済み:

2020 年 11 月 2 日

コメント済み:

2020 年 11 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by