octave-maintainers
[Top][All Lists]
Advanced

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

Re: list of octave functions


From: Juan Pablo Carbajal
Subject: Re: list of octave functions
Date: Fri, 27 Apr 2018 11:21:49 +0200

>> For a list of functions, use this script:
>>
>> list_func.m:
>>
>> ## List of all builtin (C++) functions and m-file functions
>> funcs = vertcat (__builtins__ (), __list_functions__ ());
>>
>> ## Write list to file
>> fid = fopen ("all_funcs.tmp", "w");
>> if (fid == -1)
>>   error ("Unable to open temporary file all_funcs.tmp.  Aborting...\n");
>> endif
>> fprintf (fid, "%s\n", funcs{:});
>> fclose (fid);
>>
>> And execute with
>>
>> run-octave -f list_func.m
>>
>> If you are interested in also having keywords, then add in a call to
>> iskeyword() in the call to vertcat.
>>
>> --Rik
>>
>
I added this to the wiki cookbook https://wiki.octave.org/Cookbook



reply via email to

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