Split general matlab/octave/cli interface code into separate headers.