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