Printing a table prints all rows by default. It should print just a few rows, like in the MATLAB IDE
Describe the bug Printing a table prints all rows by default. It should print just a few rows, like in the MATLAB IDE.
To Reproduce
tb = table();
tb.("column") = rand(1000,1);
Type tb in the terminal and press enter. The entire table is printed instead of just a preview.
Expected behavior I expected only the first 7 rows and the last 7 rows to be printed, like in the MATLAB IDE:
MATLAB Version: '24.2.0.2740171 (R2024b) Update 1' VS Code Version: 1.85.2 (system setup) Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681 Date: 2024-01-18T06:40:10.514Z Electron: 25.9.7 ElectronBuildId: 26354273 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045 Extension Version: 1.3.6
Thanks for reporting this issue. I can reproduce it and is something we would like to resolve in a future release of the extension. Thanks!