whe i tried to open View>Setup to change the spacing of my grid i get the following error in seagrid.
??? Undefined function or method 'finite' for input arguments of type 'double'.
Error in ==> guido>uilayout at 787
a = a(finite(a));
Error in ==> guido at 356
uilayout(theControls, theLayout, [1 1 18 18]/20)
Error in ==> seagrid.dosetup at 83
s = guido(SeaGrid_Setup);
Error in ==> seagrid.doevent at 187
dosetup(self)
Error in ==> psevent at 25
doevent(ps(gcbf), theEvent, theMessage);
??? Error while evaluating uimenu Callback
If i close the program and launch it again i get
>> seagrid
## setsafe: Error using ==> set
Axes must be an existing child of figure
## setsafe: Error using ==> set
Axes must be an existing child of figure
## setsafe: Error using ==> set
Axes must be an existing child of figure
## setsafe: Error using ==> set
Axes must be an existing child of figure
## setsafe: Error using ==> set
Axes must be an existing child of figure
MORE SEAGRID PROBLEMS
- jivica
- Posts: 172
- Joined: Mon May 05, 2003 2:41 pm
- Location: The University of Western Australia, Perth, Australia
- Contact:
Re: MORE SEAGRID PROBLEMS
in the old matlab "finite" was OK but in new version it is replaced with "isfinite"
so go into the code and find/replace "finite" with "isfinite"
Cheers,
Ivica
so go into the code and find/replace "finite" with "isfinite"
Cheers,
Ivica
Re: MORE SEAGRID PROBLEMS
hello,
i can't use since a few days ago the ncdump command in matlab.
??? Undefined function or variable "fcn".
Error in ==> ncmex at 108
[varargout{:}] = feval(fcn, varargin{:});
Error in ==> netcdf.open at 20
[theNCid, status] = ncmex('open', name(self), thePermission);
Error in ==> netcdf.netcdf at 431
result = open(result, thePermission);
Error in ==> ncdump at 58
nc = netcdf(theNetCDFFile, 'nowrite');
??? Undefined function or variable "fcn".
Also i have this problem, the rnc folder is not in the matlab tool. i wonder it is the cause of previous error, where i can find this folder?
Warning: Name is nonexistent or not a directory: D:\MATLAB_PATH\matlab_roms\rnc.
> In path at 110
In startup at 28
In matlabrc at 222
thanks
i can't use since a few days ago the ncdump command in matlab.
Code: Select all
>> ncdump('roms_grd.nc')
Error in ==> ncmex at 108
[varargout{:}] = feval(fcn, varargin{:});
Error in ==> netcdf.open at 20
[theNCid, status] = ncmex('open', name(self), thePermission);
Error in ==> netcdf.netcdf at 431
result = open(result, thePermission);
Error in ==> ncdump at 58
nc = netcdf(theNetCDFFile, 'nowrite');
??? Undefined function or variable "fcn".
Also i have this problem, the rnc folder is not in the matlab tool. i wonder it is the cause of previous error, where i can find this folder?
Warning: Name is nonexistent or not a directory: D:\MATLAB_PATH\matlab_roms\rnc.
> In path at 110
In startup at 28
In matlabrc at 222
thanks
Re: MORE SEAGRID PROBLEMS
i have still the same problem, is my netcdf tools well installed
so, is it well installed?
Code: Select all
> which nc_varget
D:\MATLAB_PATH\mexcdf\snctools\nc_varget.m
Code: Select all
>> tnetcdf
## http://crusty.er.usgs.gov/~cdenham
## NetCDF Toolbox For Matlab-5.
## Version of 30-Apr-2003 11:16:19
## TNETCDF: Using file "foo.nc"
??? Undefined function or variable "fcn".
Error in ==> ncmex at 108
[varargout{:}] = feval(fcn, varargin{:});
Error in ==> ncitem.options at 21
result = ncmex('setopts', theOptions);
Error in ==> tnetcdf at 54
oldOptions = options(ncitem, 0); % Quiet mode.
Code: Select all
>> which('netcdf','-all')
D:\MATLAB_PATH\netcdf_toolbox\netcdf\@netcdf\netcdf.m % netcdf constructor
D:\MATLAB_PATH\matlab_roms\netcdf\@netcdf\netcdf.m % Shadowed netcdf constructor
Code: Select all
>> which('mexnc','-all')
D:\MATLAB_PATH\mexcdf\mexnc\mexnc.m
so, is it well installed?
Re: MORE SEAGRID PROBLEMS
i am trying to modify the spacing in a grid already made with setup menu. the screen when you can change the spacing doesn't work?
is that normal? should i make a new one from the beginning?
i get this error.
>
??? Error using ==> mat2str
Too many input arguments.
Error in ==> guido at 316
theControls(end+1) = uicontrol( ...
Error in ==> seagrid.dosetup at 83
s = guido(SeaGrid_Setup);
Error in ==> seagrid.doevent at 187
dosetup(self)
Error in ==> psevent at 25
doevent(ps(gcbf), theEvent, theMessage);
??? Error while evaluating uimenu Callback
is that normal? should i make a new one from the beginning?
i get this error.
>
??? Error using ==> mat2str
Too many input arguments.
Error in ==> guido at 316
theControls(end+1) = uicontrol( ...
Error in ==> seagrid.dosetup at 83
s = guido(SeaGrid_Setup);
Error in ==> seagrid.doevent at 187
dosetup(self)
Error in ==> psevent at 25
doevent(ps(gcbf), theEvent, theMessage);
??? Error while evaluating uimenu Callback
Re: MORE SEAGRID PROBLEMS
Just to let know
the only tools of ROMS Matlab tool-kit that is giving problems is rnc. i wonder if i can find this folder in other location but although the path appears in the startup.m file
thanks.
the only tools of ROMS Matlab tool-kit that is giving problems is rnc. i wonder if i can find this folder in other location but although the path appears in the startup.m file
this folder it is not included.path(path, fullfile(my_root, 'matlab_roms', 'rnc', ''))
i just commented that line.Warning: Name is nonexistent or not a directory: D:\MATLAB_PATH\matlab_roms\rnc.
> In path at 110
In startup at 26
In matlabrc at 222
thanks.