help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alphabetical list of Octave functions


From: John W. Eaton
Subject: Re: alphabetical list of Octave functions
Date: Tue, 10 Jun 2008 13:21:36 -0400

On 10-Jun-2008, Brian Kirklin wrote:

| Do you have a suggestion on how to capture that output? The 2835 items 
| couldn't be displayed in one terminal for me to just copy and paste the 
| data out.

Just after I sent the message, I realized another way is

  x = completion_matches ("");
  x(x==0) = "";
  x(:,end+1) = "\n";
  fid = fopen ("function-list", "w");
  fprintf (fid, x');
  fclose (fid);

It's a little messy because completion matches pads with ASCII nul and
doesn't include newline characters.  Maybe there is a simpler way to
do it.  You'll also need to strip the file names that are also
possible completions, but those should all appear together at the end
of the list.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]