Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu Jul 18, 2019 7:31 pm




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
 Post subject: start file
PostPosted: 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);”


Top
  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 06, 2007 8:03 am 
Offline
User avatar

Joined: Mon May 05, 2003 2:41 pm
Posts: 122
Location: The University of Western Australia, Perth, Australia
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 06, 2007 9:11 am 
Yes, you are quite right. Thank you so much!!!


Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group