Explanation of tables
| * | green | Function exists in octave 2.0.x
Noted incompatibilities and missing features |
| + | yellow | Function exists in matcompat
Author and home for the function. |
| ? | orange | Function doesn't exist
Explanation of what you can do instead. |
| x | red | Function doesn't exist, and no work-around |
Help
| * | help | |
| x | helpwin | |
| x | helpdesk | |
| x | demo | |
| x | ver | |
| * | version | |
| x | whatsnew | |
| x | Readme |
Variables
| * | who | |
| * | whos | |
| x | workspace | |
| * | clear | |
| x | pack | |
| * | load | |
| * | save | |
| * | quit |
Functions
| x | what | |
| * | type | |
| x | edit | |
| x | open | |
| x | lookfor | |
| * | which | |
| x | pcode | |
| ? | inmem |
who -functions |
| ? | mex |
system(["mkoctfile ", name]); |
Load path
| * | path | |
| + | addpath |
Etienne Grossman |
| + | rmpath |
Etienne Grossman |
| x | pathtool |
User output
| * | echo | |
| * | more | |
| * | diary | |
| * | format |
Environment
| * | cd | |
| x | copyfile | |
| * | pwd | |
| * | dir | |
| ? | delete |
unlink |
| * | getenv | |
| * | mkdir | |
| ? | dos | |
| + | unix | execute unix command
Paul Kienzle by Laurent Mazet |
| ? | vms |
Octave has only system; the advantage to having all three, with only one being functional in any given operating system, is that you can issue the equivalent commands for each operating system right after one another without having to check which operating system the script is running on. Note that matlab has the equivalent of system with the ! operator. Unfortunately, this cannot be implemented in Octave because ! is already used for negation. |
| x | web | |
| * | computer |
computer, but returns different output for the same computer I bet |
Debugging
| ? | dbstop |
trap-error from Paul Kienzle adds a stop_on_error flag; a modified version of this patch is available in the bleeding edge octave, with a different name for the flag. |
| x | dbclear | |
| x | dbcont | |
| x | dbdown | |
| x | dbstack | |
| x | dbstatus | |
| x | dbstep | |
| x | dbtype | |
| x | dbup | |
| x | dbquit | |
| x | dbmex | |
| x | errortrap | trap/ignore errors |
Profiling
| x | profile | |
| x | flops |
Demos and Tests. (No Matlab Equivalents)
| + | example | display demonstration code embedded in the script |
| + | demo | run demonstration code embedded in the script |
| + | test | run test code embedded in the script |
| + | assert | error if two values are not equal, or nearly so |
| + | pretty | converts a value to a string |
| + | speed_test | compare results and speed of separate functions |