TextTable
Versión 1.0.0 (4,27 KB) por
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 );
Citar como
Michael Brancato (2024). TextTable (https://www.mathworks.com/matlabcentral/fileexchange/107944-texttable), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |