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
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.