Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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

expand all

Start Only the MATLAB Command Window

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

MLUseFullDesktop("no")

See Also

| |

Was this topic helpful?