This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Open Command Window, or select it if already open




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.


To determine the number of columns and rows that display in the Command Window, given its current size, use


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.

Introduced before R2006a

Was this topic helpful?