Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using the command-line matlab interface (matlab --nodesktop) a lot lately.

When I want to jump out of matlab and back to my bash shell, my instinct is to do Ctrl+D. I guess the bash and python shortcuts conditioned me to automatically do Ctrl+D. Problem is, matlab wants me to type exit instead of hitting Ctrl+D.

Is there a way to convince matlab to let me exit the command line interface by doing Ctrl+D?

share|improve this question
    
Please check whether the given answer helps, and accept it if so. Otherwise elaborate on the problem as it is not desirable to leave the question open. – Dennis Jaheruddin Jan 13 '14 at 13:12

I have just checked and it is indeed possible to exit matlab with a hotkey. The default setting is Ctrl+Q but of course you can change this as described on the Mathworks blog.

Setting it is most easily done without -nodesktop, but the hotkeys do work in nodesktop mode.

share|improve this answer
    
haven't looked at the mathworks blog yet, but Ctrl+Q doesn't seem to work using the default configuration. – solvingPuzzles Nov 14 '12 at 17:25
    
Perhaps the hotkeys differ per version or OS, it should only take you 2 mins to check the blog and see whether you can make it work. – Dennis Jaheruddin Nov 14 '12 at 20:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .