Why 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?

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.

 Accepted 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

More Answers (0)

Categories

Products

Release

R2011a

Community Treasure Hunt

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

Start Hunting!