alphabetical list of Octave functions
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Jun 10 12:21:36 CDT 2008
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
More information about the Help-octave
mailing list