How to print a matlab table to a file with the same layout ?
Show older comments
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 ?
1 Comment
Jeff Miller
on 17 May 2020
there are a few contributions for that on FileExchange
Answers (1)
Madhav Thakker
on 9 Feb 2021
0 votes
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.
Categories
Find more on LaTeX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!