MATLAB Answers

How to print a matlab table to a file with the same layout ?

1 view (last 30 days)
andrea
andrea on 17 May 2020
Answered: Madhav Thakker on 9 Feb 2021
I would like to include a matlab table into a latex document , but keeping the same layout ( apperance) that has in matlab, I maean I would like to see in my latex pdf the same table I see on the matlab command window, is there a way ?

Answers (1)

Madhav Thakker
Madhav Thakker on 9 Feb 2021
Hi andrea,
https://in.mathworks.com/matlabcentral/fileexchange/69063-matlab-table-to-latex-conversor is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation.
If you have the Symbolic Math Toolbox, you can use the LATEX function in conjunction with SYM to create a LaTeX table to represent MATLAB data in a table format. https://in.mathworks.com/matlabcentral/answers/95028-how-can-i-create-a-latex-table-from-a-matlab-array#answer_104380
Hope this helps.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!