Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
Could this help you out? blogs.mathworks.com/community/2009/09/28/… – Dennis Jaheruddin Nov 13 '12 at 9:53

1 Answer

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.