There are some subtle differences in Octave's interpretation of the Matlab'sMATLAB's programming language. Octave uses "endif
" and "endwhile
" to close if
and while
statements respectively. Octave also allows you to declare functions on the command line. It should, however, parse anything that MatlabMATLAB parses too, so if you stick to Matlab'sMATLAB's programming language, you should be fine.
Be aware that the biggest differences between the two programs is in the built-in functions that do most of the numerical heavy-lifting, e.g. "quad
", "ode15s
" and such. All of these functions should, however, be well documented when using the "help
" command. There are also mailing lists for Octave should you have more specific questions that aren't covered by the online help.