Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

MLUseFullDesktop

Specify whether to use full MATLAB desktop or 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 Command Window only.

Default: "yes"

Output Arguments

out

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

Examples

collapse all

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

MLUseFullDesktop("no")

See Also

| |

Introduced in R2006b

Was this topic helpful?