MATLAB: Can I not see what I am typing in the terminal after I exit MATLAB 7.10 (R2010a) which was started with ‘-nodesktop’ or ‘-nojvm’ flag under bash

gnome-terminalinvisiblekonsoleMATLABresetrxvtsttyxterm

After running MATLAB with the '-nodesktop' or '-nojvm' flags under the bash shell, the terminal window no longer echoes keyboard input.
For example:
1. Start bash
bash
2. Start MATLAB without the desktop
matlab -nodesktop
3. Run any numeric computation and exit:
ones(10,1) * ones(1,10);
exit
4. At this point, the terminal will not display any keyboard input.

Best Answer

This enhancement has been incorporated in Release 2012a (R2012a). For previous product releases, read below for any possible workarounds:
This is a bug in MATLAB 7.10 (R2010a) on Linux and Mac.
There are two possible workarounds:
1. Run MATLAB under a different shell. For example, neither tcsh or zsh have this issue.
2. Reset the terminal after MATLAB exits by running RESET command in the terminal window:
reset