TextTable
Versione 1.0.0 (4,27 KB) da
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 );
Cita come
Michael Brancato (2025). TextTable (https://it.mathworks.com/matlabcentral/fileexchange/107944-texttable), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2022a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato da: cprintf - display formatted colored text in Command Window
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
