latex_table

Export data to latex table
1.9K Downloads
Updated 17 Jun 2008

View License

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 (2026). latex_table (https://www.mathworks.com/matlabcentral/fileexchange/19641-latex_table), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

Creates a simple preview of the table