TextTable

版本 1.0.0 (4.3 KB) 作者: Michael Brancato
Quickly generate nicely formatted text tables. Use control over text wrapping, row specific color and adjustment of border format.
9.0 次下载
更新时间 2022/3/13

查看许可证

%% 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 );

引用格式

Michael Brancato (2024). TextTable (https://www.mathworks.com/matlabcentral/fileexchange/107944-texttable), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0