printtable(content, Name, Value)

Version 1.2.0.0 (5.37 KB) by brayantz
Print character table in custom format.
97 Downloads
Updated 21 Mar 2018

View License

This function is usefull to display matrices in the screen as a report with diferent 'styles'. You can specify column and rows variable names, aligment, padding spaces, delimiters, corners and borders. Also can save the result as a charcater array to be used with functions: fprintf, sprintf, warning, error and MException.
The purpose of this function is to be an option to the already existing similar functions (see Acknowledgments).

Cite As

brayantz (2024). printtable(content, Name, Value) (https://www.mathworks.com/matlabcentral/fileexchange/64517-printtable-content-name-value), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Tables in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Printing a formatted table, latexTable, print_table

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Changed function name (printtable), changed parameter names, refactorized.

1.1.0.0

Changed name (printTable), changed parameter names, refactorized, added input parser scheme, dependence with
the function interleave (FEX).

1.0.0.0

Add comment