[MATLAB] Removed Octave-specific stuff
[MATLAB] Added hack for functions with no outputs