This function exports MATLAB array (numerical or a cell array) to LaTeX enviroment tabularx.
The results it's printed to the command window and/or can be saved to a file.
You may choose table width, the numeber of decimals, the type (math or text) and also the title of each column.
For more information: help latex_table
For a rapid example: latex_table()
The result is shown in the screenshot.
Cite As
Andrea Vannuccini (2025). latex_table (https://www.mathworks.com/matlabcentral/fileexchange/19641-latex_table), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.0.0.0 | Creates a simple preview of the table |
