printtable(content, Name, Value)

Print character table in custom format.

You are now following this Submission

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 (2026). printtable(content, Name, Value) (https://nl.mathworks.com/matlabcentral/fileexchange/64517-printtable-content-name-value), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Printing a formatted table, latexTable, print_table

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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