m_grid problem for MATLAB 2019b

15 vues (au cours des 30 derniers jours)
Shih Jen Huang
Shih Jen Huang le 2 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;
  1 commentaire
Shih Jen Huang
Shih Jen Huang le 5 Nov 2020
Thank! it is work.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Chemistry dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by