TextTable
Version 1.0.0 (4,27 KB) von
Michael Brancato
Quickly generate nicely formatted text tables. Use control over text wrapping, row specific color and adjustment of border format.
%% Example Usage
t = TextTable();
t.table_title = 'Example Table';
t.addColumns( { 'Col 1', 'Col 2', 'Col 3' }, [ 10 -1 -1 ], [ 2 2 2 ] );
t.addRows( { 'The text will wrap', 'Column fit', 'N/A'; 'Col1,Row2', 'Col2,Row2', '' } );
t.text_wrap = true;
s = t.print( true, true );
Zitieren als
Michael Brancato (2026). TextTable (https://de.mathworks.com/matlabcentral/fileexchange/107944-texttable), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2022a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: cprintf - display formatted colored text in Command Window
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
