Clear Filters
Clear Filters

What is -noFigureWindows supposed to do?

15 views (last 30 days)
Willie Wong
Willie Wong on 29 Mar 2016
Edited: Gautam Mohan on 31 Mar 2016
According to the documentation, the Linux version of MATLAB R2016a supports the -noFigureWindows option which is supposed to suppress the display of figures on the command line. However, when I start with
matlab -noFigureWindows -nosplash -nodesktop
and issue
plot([0,1],[1,1])
a figure window still pops up (just without the file menu). Like this:
For comparison, starting without the -noFigureWindows option gives
Is this the expected behaviour? From the documentation I would have expected there to be absolutely no figure windows shown, with or without menu bar.
  1 Comment
Gautam Mohan
Gautam Mohan on 31 Mar 2016
Edited: Gautam Mohan on 31 Mar 2016
Hi Willie,
I just tested starting MATLAB R2016a with your command-line arguments on my Debian 7 machine with XFCE. On my machine, the plot windows were indeed disabled, so I was not able to reproduce the issue you are having.
One suggestion is to make sure that your Linux distribution is supported. You can find out the systems MathWorks supports MATLAB on here. If your system qualifies, I would suggest contacting MathWorks Technical Support to see whether or not the issue you're encountering is a bug. If it does not qualify, then my suggestion would be to look into obtaining a compatible version of Linux to run MATLAB on.
I noticed from the screenshots that it looks like you're using a tiled window manager. Off the top of my head, I wonder if that is causing an odd interaction with the -NoFigureWindows option. Could you try the startup command with a different desktop environment if you have access to one? I definitely advise you to contact Technical Support if your version of Linux is supported, as we will be able to help resolve your issue in a more systematic fashion. Hope this helps!

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!