I would like to start Matlab in its 'shell mode' from the Cygwin terminal. However if I enter
matlab
the GUI appears. If instead I try
matlab -nodesktop
Then a new command line opens in another window.
How do I start Matlab so that I can run it in my current Cygwin terminal?