m_grid problem for MATLAB 2019b

15 Ansichten (letzte 30 Tage)
Shih Jen Huang
Shih Jen Huang am 2 Nov. 2020
Kommentiert: Shih Jen Huang am 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;

Antworten (1)

Rishik Ramena
Rishik Ramena am 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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by