C-x means hold down
key and press x M-x means on PC: hold down key and press x on Mac: hold down and
C-x C-f yourmatlabfile.mType
C-h mto see the key bindings offered by this mode. To start an octave process type:
M-x run-octaveYou can send commands from your octave/matlab script (the .m file) by typing
C-c TAB C-lin the .m buffer.
The following are a few links related to octave:
Octave Home page.
Octave Programming Tutorial
See also a list that essentially indicates that if code runs in Matlab, it will run in Octave.