From help-request at octave dot org Wed Aug 10 19:21:31 2005 Subject: Re: doubt in char From: Geordie McBain To: "Henry F. Mollet" Cc: Octave_post Date: Thu, 11 Aug 2005 10:19:43 +1000 On Wed, 2005-08-10 at 09:55 -0700, Henry F. Mollet wrote: > GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0). > Using which char.m produces the one from octave-forge and help char.m does > not say it's a built-in function as Quention suggested in an earlier post? > Henry > > octave:1> which char.m > which: `char.m' is the script file > /usr/local/share/octave/2.1.71/site/m/octave-forge/general/char.m > > octave:2> help char.m > char.m is the file: > /usr/local/share/octave/2.1.71/site/m/octave-forge/general/char.m > usage: z = char(x) > converts numbers into character-arrays > it the inverse function of toascii > see also: TOASCII, SETSTR True, but try "which char" and "help char" (i.e. without the .m, as the .m necessarily avoids the built-in which doesn't live in a .m file). ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------