m_grid problem for MATLAB 2019b

14 次查看(过去 30 天)
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
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.

类别

Help CenterFile Exchange 中查找有关 Chemistry 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by