printtable(content, Name, Value)
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Tables >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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
|
||
1.0.0.0 | Add comment |