Matlab tools problems

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
gregjunqua
Posts: 2
Joined: Tue Jan 26, 2010 4:24 pm
Location: none

Matlab tools problems

#1 Unread post by gregjunqua »

Hi i am a new rom users, and last week i tried to install roms
And run Beguela tutorial from the ROMMSTOOLS User's Guide by pierrick Peven...
And i see that it's not possible to run make_grid
??? Undefined function or variable "fcn".

Error in ==> ncmex at 110
[varargout{:}] = feval(fcn, varargin{:});

Error in ==> netcdf.create at 13
[theNCid, status] = ncmex('create', name(self), thePermission);

Error in ==> netcdf.netcdf at 413
result = create(result, thePermission);

Error in ==> create_grid at 37
nw = netcdf(grdname, 'clobber');

Error in ==> make_grid at 75
create_grid(L,M,grdname,ROMS_title)
After checking ncmex i force the fcn variable by fcn = 'mexcdf53';
This lead to a new error like
??? Undefined function or method 'finite' for input arguments of type 'double'.

Error in ==> ncdim.ncdim at 70
if ~finite(theDimsize), theDimsize = 0; end

Error in ==> netcdf.subsasgn at 91
result = ncdim(theDimname, other, self);

Error in ==> create_grid at 44
nw('xi_u') = L;

Error in ==> make_grid at 75
create_grid(L,M,grdname,ROMS_title)
I feel if i try to modifies all the file it would not give a proper solution. So what should i do my matlab version is 7.12.0 2011a
Should i use an older version of matlab?
If someone could help me

gregjunqua
Posts: 2
Joined: Tue Jan 26, 2010 4:24 pm
Location: none

Re: Matlab tools problems

#2 Unread post by gregjunqua »

Hi
I think to modifies all the file is not a good idea due to i think i havn't done something so my installation is unstable
So i still on the first error

User avatar
Bejaoui
Posts: 1
Joined: Fri Aug 29, 2008 4:13 am
Location: National Institut of Sciences and Technologies - Tunisia (INSTM)
Contact:

Re: Matlab tools problems

#3 Unread post by Bejaoui »

Hi Roms users,

We are beginner users of roms model. When trying to initialize the grid model using MATLAB we have encoutered an error propbably linked to netcdf-matlab (netcdf-4.3.1.1)
Here after the listing of the error in matlab.
__________________________________________
"??? Error using ==> finite
FINITE is obsolete. USE ISFINITE instead.

Error in ==> ncdim.ncdim at 70
if ~finite(theDimsize), theDimsize = 0; end

Error in ==> netcdf.subsasgn at 91
result = ncdim(theDimname, other, self);

Error in ==> create_grid at 44
nw('xi_u') = L;

Error in ==> make_grid at 75
create_grid(L,M,grdname,ROMS_title)"
_____________________________________________________

Bechir
Béchir Béjaoui
National Institute of Marine Science and Technologies - Tunisia
Tél.Mob : +216 98379839
Fax : +216 71732622
mail1 : bejaoui.bechir@ymail.com
mail2 : bejaoui.bechir@instm.rnrt.tn
Skype : bejaouibechir

msun
Posts: 6
Joined: Thu Dec 31, 2015 1:05 pm
Location: Ocean University of China

Re: Matlab tools problems

#4 Unread post by msun »

gregjunqua wrote:Hi i am a new rom users, and last week i tried to install roms
And run Beguela tutorial from the ROMMSTOOLS User's Guide by pierrick Peven...
And i see that it's not possible to run make_grid
??? Undefined function or variable "fcn".

Error in ==> ncmex at 110
[varargout{:}] = feval(fcn, varargin{:});

Error in ==> netcdf.create at 13
[theNCid, status] = ncmex('create', name(self), thePermission);

Error in ==> netcdf.netcdf at 413
result = create(result, thePermission);

Error in ==> create_grid at 37
nw = netcdf(grdname, 'clobber');

Error in ==> make_grid at 75
create_grid(L,M,grdname,ROMS_title)
After checking ncmex i force the fcn variable by fcn = 'mexcdf53';
This lead to a new error like
??? Undefined function or method 'finite' for input arguments of type 'double'.

Error in ==> ncdim.ncdim at 70
if ~finite(theDimsize), theDimsize = 0; end

Error in ==> netcdf.subsasgn at 91
result = ncdim(theDimname, other, self);

Error in ==> create_grid at 44
nw('xi_u') = L;

Error in ==> make_grid at 75
create_grid(L,M,grdname,ROMS_title)
I feel if i try to modifies all the file it would not give a proper solution. So what should i do my matlab version is 7.12.0 2011a
Should i use an older version of matlab?
If someone could help me
Hi, I am a newbie. Have the same problem now. I have matlab2014a installed under windows7 to produce grid. how did u solve your problem?~~

sudheesh
Posts: 2
Joined: Mon Sep 21, 2009 5:11 pm
Location: NIO

Re: Matlab tools problems

#5 Unread post by sudheesh »

It may issue of your mexcdf (its for NetCDF in Matlab).

Post Reply