changeset 2325:61855097ec0c octave-forge

Update and fix help strings
author abarth93
date Wed, 14 Jun 2006 14:02:28 +0000
parents b94cc195d5b6
children 850804ee04dd
files main/octcdf/ov-netcdf.cc
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/octcdf/ov-netcdf.cc	Tue Jun 13 13:25:13 2006 +0000
+++ b/main/octcdf/ov-netcdf.cc	Wed Jun 14 14:02:28 2006 +0000
@@ -358,7 +358,13 @@
 @deftypefnx {Loadable Function} ncname(@var{nv}) \n\
 @deftypefnx {Loadable Function} ncname(@var{na}) \n\
 @deftypefnx {Loadable Function} ncname(@var{nd}) \n\
-Gets the name of the NetCDF file @var{nc}, variable @var{nv}, attributes @var{na} or dimension @var{nd}. \n\
+@deftypefnx {Loadable Function} ncname(@var{nv},@var{new_name}) \n\
+@deftypefnx {Loadable Function} ncname(@var{na},@var{new_name}) \n\
+@deftypefnx {Loadable Function} ncname(@var{nd},@var{new_name}) \n\
+Gets the name of the NetCDF file @var{nc}, variable @var{nv}, attributes \n\
+@var{na} or dimension @var{nd}. If it is called with a second argument, the \n\
+corresponding NetCDF object will be renamed. Only variables, attributes and \n\
+dimensions can be renamed. \n\
 @end deftypefn\n\
 @seealso{ncvar,ncatt,ncdim}\n")
 {
@@ -416,7 +422,7 @@
 "-*- texinfo -*-\n\
 @deftypefn {Loadable Function} ncdatatype(@var{nv}) \n\
 @deftypefnx {Loadable Function} ncdatatype(@var{na}) \n\
-Gets the name of the NetCDF file @var{nc}, variable @var{nv}, attributes @var{na} or dimension @var{nd}. \n\
+Gets the datatype of the NetCDF variable @var{nv} or attributes @var{na}. \n\
 @end deftypefn\n\
 @seealso{ncvar,ncatt,ncdim}\n")
 {