Skip to Main Content Skip to Search
Product Documentation

MLUseFullDesktop - Specify whether to use full MATLAB desktop or MATLAB Command Window

Syntax

MLUseFullDesktop(flag)
MLUseFullDesktop flag
out = MLUseFullDesktop(flag)

Description

MLUseFullDesktop(flag) sets the MATLAB session to start with the full desktop or Command Window only. Use this syntax when working directly in a worksheet.

MLUseFullDesktop flag sets the MATLAB session to start with the full desktop or Command Window only. Use this syntax in a VBA macro.

out = MLUseFullDesktop(flag) lets you catch errors when executing MLUseFullDesktop in a VBA macro. If MLUseFullDesktop fails, then out is a string containing error code. Otherwise, out is 0.

Input Arguments

flag

Either "yes" or "no".

Specify "yes" to start full MATLAB desktop. Specify "no" to start the MATLAB Command Window only.

Default: "yes"

Output Arguments

out

0 if the command succeeded. Otherwise, a string containing error code.

Examples

Start Only the MATLAB Command Window

Set the MATLAB session to start with the command window only:

MLUseFullDesktop("no")

See Also

matlabinit | MLClose | MLOpen

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS