I am working with Matlab 2024a on MS Windows. I am working in the Matlab GUI.
I have an array which has 61 rows and 15 columns, named X_foo
. If I just say
>> X_foo
at the command prompt, it is displayed with columns 1 through 14, all rows, and then column 15, all rows.
Of course, the number of columns which are displayed is a function of the width of the window. The essential point is that Matlab breaks up the array into blocks of columns, such that each block fits within the display line length, and then displays the array block by block.
How can I tell Matlab not to break up the array into column blocks, and just display all columns, whatever the width? I looked at Preferences / Command Window, and I see both “Wrap lines” and “Set matrix display to eighty columns” are both disabled. What else can I try? Is there any way to tell Matlab the line length for the command window? I looked, but did not find such a variable.