LaTeX Output Classes for MatLab
The purpose of this set of classes is to enable the programmer to (more) easily generate LaTeX code for tables
and figures from within MATLAB. I have included a pdf file which documents many of the features of this code as well as providing examples for basic functionality. There are other solutions already available; however, the use of MATLAB classes enables greater functionality with less input from the user. Note that the classes assume you have a working knowledge of LaTeX in that it does not reject or replace special characters. For instance if you want the caption to say 'This & That' you must write it as 'This \& That' since & is a special character in LaTeX. Other special characters include but are not limited to #, $, n, and ~.
I created this code to help with some output during my graduate work. (It was also an excuse to learn how to work with classes as I never had the need before.) As such, it was written quickly, and I now know that there are some better ways of implementing some of the features. However, I thought I may post it here just in case it would help anyone else who has thought about doing the same thing.
Cite As
Christopher Roberts (2024). LaTeX Output Classes for MatLab (https://www.mathworks.com/matlabcentral/fileexchange/67347-latex-output-classes-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: export_fig
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.
MatLabLaTaXClass/
MatLabLaTaXClass/Examples/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |