make_grid

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
fdaryabor
Posts: 78
Joined: Wed Jan 02, 2008 3:15 pm
Location: University of Copenhagen

make_grid

#1 Unread post by fdaryabor »

Hi

When I execute make_grid in matlab I see follow error:

>> make_grid

Making the grid: ../Run/ROMS_FILES/roms_grd.nc

Title: Benguela Test Model

Resolution: 1/3 deg

Create the grid file...
LLm = 23
MMm = 31

Fill the grid file...

Compute the metrics...
??? Error: File: subsref.m Line: 128 Column: 9
"subs" previously appeared to be used as a function or command, conflicting with its use here as the name of a variable.
A possible cause of this error is that you forgot to initialize the
variable, or you have initialized it implicitly using load or eval.


Error in ==> netcdf.subsref at 52
result = subsref(result, s);

Error in ==> get_metrics at 35
latu=nc{'lat_u'}(:);

Error in ==> make_grid at 95
[pm,pn,dndx,dmde]=get_metrics(grdname);

Please you guide me

Best Regards
F.Daryabor

marceloandrioni
Posts: 4
Joined: Wed Mar 26, 2008 7:15 pm
Location: ----

#2 Unread post by marceloandrioni »

Hi, subs is the name of a variable in the program, but is also the name of a matlab function.
"which subs" will tell you if you have the subs function and in which directory it is. If you do, try removing that directory from your matlab path.

fdaryabor
Posts: 78
Joined: Wed Jan 02, 2008 3:15 pm
Location: University of Copenhagen

#3 Unread post by fdaryabor »

marceloandrioni wrote:Hi, subs is the name of a variable in the program, but is also the name of a matlab function.
"which subs" will tell you if you have the subs function and in which directory it is. If you do, try removing that directory from your matlab path.

Tank you my friend for your guide.

Best Regards
F.Daryabor

Post Reply