start file

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
gislita

start file

#1 Post by gislita » Mon Mar 05, 2007 8:56 am

Hello,

I wonder if somebody using a Windows XP computer could please send me her or his start file, please. I mean, I haven’t been able to fix my problems with the make_grid stage… I believe these problems are related to my ‘start’ file and/or to the mexnc file. I think I have the right mex file though… Every time I try to get through the make_grid stage I always get the same error (please see below if interested)

Thank you very much.

Juan Fernandez



>> 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, 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);”

User avatar
jivica
Posts: 122
Joined: Mon May 05, 2003 2:41 pm
Location: The University of Western Australia, Perth, Australia

#2 Post by jivica » Tue Mar 06, 2007 8:03 am

Well think that you are using symbolic toolbox in matlab where you have defined sub function...
what do you get by typing in matlab prompt: which sub
you can disable it by rmpath /your_matlab_path_to_symbolic_toolbox

Hope it helps
Ivica

gislita

#3 Post by gislita » Tue Mar 06, 2007 9:11 am

Yes, you are quite right. Thank you so much!!!

Post Reply