3

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?

2 Answers 2

2
+50

According to this, MATLAB works differently depending on whether you're using Windows or Linux.

-nodesktop behaves differently depending if you are on Windows vs Linux or Mac. On Windows we provide a boring Command-Window only interface that lacks the “bells and whistles” of the regular Command Window or the full Desktop.


Running with the -nodesktop option on Windows:

enter image description here

Running with the -nodesktop option on Linux/Mac:

enter image description here

There doesn't appear to be any other way around the issue at this time.

0

Try this: matlab -nojvm -nodisplay -nosplash

Source: http://www.mathworks.com/help/matlab/ref/matlablinux.html

1
  • Unfortunately it opens a command terminal windows. Impossible to use STDIN and STDOUT
    – nowox
    Sep 17, 2015 at 15:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .