Is it possible to make MATLAB start up faster if I launch without the MATLAB Desktop?

98 views (last 30 days)
The MATLAB Desktop takes a long time to start up and this is slowing down MATLAB's launch time.
I am using a machine that satisfies the system requirements that you publish in your documentation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jan 2017
The final process in launching MATLAB is opening the MATLAB Desktop (or IDE). Decreasing the number of windows that open during the initialization of the IDE will speed up the launch time.
Try the following suggestions:
1. Do not have the help browser open during launch.
See the Related Solution listed at the bottom of the page for more information.
2. Decrease the number of files in the editor already open from the last session of MATLAB.
3. Choose only your favorite windows from the IDE.
4. Shut down MATLAB and restart.
5. It is possible to launch MATLAB with a -nodesktop flag. This will open the old desktop from MATLAB 5.3.1 (R11.1). It will not allow you to use the file browser, launch pad, and other IDE functionalities added since MATLAB 6.0 (R12).
To launch MATLAB using the "-nodesktop" flag, type the following command at the UNIX command prompt or in the Target Property of a Windows Shortcut (or DOS command line):
$MATLABROOT/matlab -nodesktop
(where $MATLABROOT is the full MATLAB root path)
  2 Comments
Vipresh Gangwal
Vipresh Gangwal on 18 Nov 2014
@Anthony, here are some hints:
suggestion 2 is that before exiting the MATLAB session you can try and close the files that you may not need later. Opening and accessing multiple files is an additional overhead that you can avoid if not needed.
suggestion 3 is about all the windows (tools) that are part of MATLAB desktop. if you do not use variable editor, the current folder browser, command history or any of the other tools in MATLAB desktop, you can choose not to show them. You can do this by individually closing the windows or by using the "layout" option in the home tab if you are using MATLAB R2012b and later.
As far as the "nodesktop" flag is concerned, it is specific to the perticular instance or session of MATLAB. if you want ot see desktop, you can launch matlab by double clicking the icon or typing the same command without the -nodesktop flag at the end.

Sign in to comment.

More Answers (0)

MathWorks Support

Community Treasure Hunt

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

Start Hunting!