657
edits
(Some more refactoring.) |
|||
Line 78: | Line 78: | ||
will be available. Some packages may disable functions at build time, or | will be available. Some packages may disable functions at build time, or | ||
specific functions may have specific runtime requirements. | specific functions may have specific runtime requirements. | ||
=== List all function in Octave === | |||
Use the following script | |||
<syntaxhighlight lang="Octave"> | |||
## 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); | |||
</syntaxhighlight> | |||
And execute with | |||
run-octave -f list_func.m | |||
== Structures == | == Structures == |
edits