0

I have a strange problem: when calling matlab command from the shell , as follows:

matlab -nodesktop -nojvm -nosplash -r "SomeFunction(SomeParameter);quit;"

it works fine, but on exiting matlab breaks down something in bash environment - I can type commands but see no display of what I am typing, but see results of command execution. It seems it is redirected somewhere, but I can't figure out how to get it back and why it was redirected. Hitting return repeats printing of the prompt and I get smth like:

anton@richter:~/data$ anton@richter:~/data$ anton@richter:~/data$ anton@richter:~/data$

Any hint/help on this would be useful.

Details: I am using Ubuntu server. Anton

user1354209
  • 1
  • 1
  • 1

1 Answers1

3

echo has been turned off.

Doing reset is the quickest solution, as it's probably messed up more than just echo. But to just reset echo, you can do stty echo.

Douglas Leeder
  • 52,368
  • 9
  • 94
  • 137