Configuring MATLAB to exit nodisplay interactive mode on EOF (Ctrl-D)

1 次查看(过去 30 天)
I usually like to run MATLAB's interactive mode in a terminal window, using the -nodisplay command line option. When I want to exit, I instinctively hit Ctrl-D, which in most *nix environments writes an EOF character to the stream. In most programming languages with interactive modes (like Octave, Python, or most shells), this exits the program. MATLAB doesn't do this, so I have to use exit instead -- not a huge problem, but it is a mild inconvenience. Is there any way to configure MATLAB to exit on EOF?
I suppose this is kind of petty, but I am losing literally seconds of productivity.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by