commandwindow
Open Command Window, or select it if already open
Syntax
commandwindow
Description
commandwindow
opens the MATLAB®Command Window when it is closed, and selects the Command Window when it is open.commandwindow
is not supported when running MATLAB with the-nodesktop
option.
Tips
To determine the number of columns and rows that display in the Command Window, given its current size, use
matlab.desktop.commandwindow.size
The number of columns is based on the width of the Command Window. With the matrix display width preference set to 80 columns, the number of columns is always 80.
See Also
Introduced before R2006a
Was this topic helpful?