Interpreter

Debugging

Delete a breakpoint in a function
Return a vector containing the lines on which a function has breakpoints set.
Set a breakpoint in a function
List script file with line numbers.
Show where we are in the code See also: dbclear, dbstatus, dbstop.
Query or set the internal variable that controls whether Octave will try to enter the debugger when an error is encountered.
Query or set the internal variable that controls whether Octave will try to enter debugging mode when it receives an interrupt signal (typically generated with `C-c').
Query or set the internal variable that controls whether Octave will try to enter the debugger when a warning is encountered.
debug_symtab_lookups
not implemented

Demos and Tests.

Produces an error if the condition is not met.
Runs any examples associated with the function 'NAME'.
Display the code for example N associated with the function 'NAME', but do not run it.
Return true if CODE fails with an error message matching PATTERN, otherwise produce an error.
Determine the execution time of an expression for various N.
Perform tests from the first file in the loadpath matching NAME.

Environment

!
use system("command")
Have Octave create a bug report template file, invoke your favorite editor, and submit the report to the bug-octave mailing list when you are finished editing.
Change the current working directory to DIR.
Print or return a string of the form CPU-VENDOR-OS that identifies the kind of computer Octave is running on.
Copy the file F1 to the new name F2.
Delete the named file or graphics handle.
Display file listing for directory DIRECTORY.
Execute a system command if running under a Windows-like operating system, otherwise do nothing.
Have Octave dump all the current user preference variables to FILE in a format that can be parsed by Octave later.
ignored by Octave
Return the value of the environment variable VAR.
Return true if F is a directory.
Return 1 if your computer claims to conform to the IEEE standard for floating point calculations.
Return 1 if Octave is running on a Mac OS X system and 0 otherwise.
Return 1 if Octave is running on a Windows system and 0 otherwise.
Return 1 if Octave is running on a Unix-like system and 0 otherwise.
Display the license of Octave.
List directory contents.
Set or return the shell command used by Octave's `ls' command.
Create a directory named DIR in the directory PARENT.
Return the native floating point format as a string
Display the current NEWS file for Octave.
Invoke perl script SCRIPTFILE with possibly a list of command line arguments.
Set the value of the environment variable VAR to VALUE.
Return the current working directory.
Execute a shell command specified by STRING.
Return system information in the structure.
Execute a system command if running under a Unix-like operating system, otherwise do nothing.
Display a header containing the current Octave version number, license string and operating system, followed by the installed package names, versions, and installation directories.
vms
use system
Describe the conditions for copying and distributing Octave.
web
not implemented

Functions

alias
not implemented
Define FUNCTION to autoload from FILE.
Replace the function F with a dispatch so that function R is called when F is called with the first argument of the named TYPE.
Edit the named function, or change editor settings.
inmem
use who with -functions
Return true if X is a value from the class CLASS.
This function is obsolete and will be removed from a future version of Octave.
This function is obsolete and will be removed from a future version of Octave.
Search for the string STR in all functions found in the current function search path.
This function is obsolete and will be removed from a future version of Octave.
This function is obsolete and will be removed from a future version of Octave.
Compile source code written in C, C++, or Fortran, to a MEX file.
Return the filename extension used for MEX files.
open
not implemented
pcode
not implemented
Parse and execute the contents of FILE.
Display the definition of each NAME that refers to a function.
This function is obsolete and will be removed from a future version of Octave.
This function is obsolete and will be removed from a future version of Octave.
List the Octave specific files in a directory.
Display the type of each NAME.

Help

Runs any examples associated with the function 'NAME'.
Display documentation for the function FUNCTION_NAME directly from an on-line version of the printed manual, using the GNU Info browser.
Display the help text for NAME.
Display contact information for the GNU Octave community.
Display a header containing the current Octave version number, license string and operating system, followed by the installed package names, versions, and installation directories.
Return Octave's version number as a string.

Installation

Unpack the bzip2 archive BZFILE to the directory DIR.
Compares to version strings using the given OPERATOR.
Unpack the gzip archive GZFILE to the directory DIR.
Compress the list of files and/or directories specified in FILES.
Compile source code written in C, C++, or Fortran, to a MEX file.
The `mkoctfile' function compiles source code written in C, C++, or Fortran.
Move the file F1 to the new name F2.
This command interacts with the package manager.
Pack FILES FILES into the TAR archive TARFILE.
Unpack the archive FILE based on its extension to the directory DIR.
Unpack the TAR archive TARFILE to the directory DIR.
Unpack the ZIP archive ZIPFILE to the directory DIR.
Compress the list of files and/or directories specified in FILES into the archive ZIPFILES in the same directory.

Load path

Add DIR1, ... to the current function search path.
file_in_loadpath
no description
file_in_path
no description
Return a path constructed from DIR and all its subdirectories.
Return the location of Octave's home.
Modify or display Octave's load path.
Return the default path for Octave.
pathtool
not implemented
Reinitialize Octave's load path directory cache.
Restore Octave's path to it's initial state at startup.
Remove DIR1, ... from the current function search path.
Save the portion of the current function search path, that is not set during Octave's initialization process, to FILE.

Objects

When called from a class constructor, mark the object currently constructed as having a lower precedence than CLASS_NAME.
Return true if X is a class object.
Return a cell array containing the names of the methods for the object X or the named class.
When called from a class constructor, mark the object currently constructed as having a higher precedence than CLASS_NAME.

Output

Record a list of all commands _and_ the output they produce, mixed together just as you see them on your terminal.
Control whether commands are displayed as they are executed.
Control the format of the output produced by `disp' and Octave's normal echoing mechanism.
Return a string containing the elements of ARG listed in columns with an overall maximum width of WIDTH.
Turn output pagination on or off.
Return a two-element row vector containing the current size of the terminal window in characters (rows and columns).

Profiling

This function is provided for MATLAB compatibility, but it doesn't actually do anything.
profile
not implemented

Variables

Input checking:
Return the class of the expression EXPR or create a class with fields from structure S and name (string) ID.
Delete the names matching the given patterns from the symbol table.
document
not implemented
Load the named variables V1, V2, ..., from the file FILE.
This function is provided for compatibility with MATLAB, but it doesn't actually do anything.
Exit the current Octave session.
Save the named variables V1, V2, ..., in the file FILE.
name = temp_name(rootname, quick=1) - Return a name that is not used
List currently defined symbols matching the given patterns.
See who.
Query or set the format string used by the `whos'.
workspace
not implemented