Logged In: NO

This isn't simply a problem with the emacs, I get this running matlab from the terminal. As a workaround to your problem, use fprintf instead of disp. There is no linefeed be default.