Hi,
I am trying to run ROMS (using ROMS_Tools) in a Windows XP laptop and unfortunately I am having some problems. I did have some problems with ‘start’, but I think I fixed it. However, whenever I go for ‘make_grid’ I always get the same error (please see below). I wonder if somebody may be able to help me here, please.
“>> 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);”
I believe this may be related to the mexcdf file, but I just download the suitable version (for Mathlab R14) from http://mexcdf.sourceforge.net/ and placed in the netcdf_matlab/mexnc folder. It is not working. Any help would be highly appreciated.
Thank you,
Cheers,
Juan Fernandez
Roms in a Windows XP laptop. Make_grid error
Same problem, but in linux
Hi there. I have exactly the same problem, but I am running it on a linux box. I am not using any dll file. What's your suggestion?sscruise wrote:You need to copy netcdf.dll (in mexnc\win32) to matlab\bin\win32.
Thanks in advance