Life Scripts from Latex Impoert

5 views (last 30 days)
Ingo on 21 Dec 2020
Answered: Jared MacDonald on 2 Mar 2021
MATLAB Life Scripts can easily exported into Latex format. Is there the opposite way available as well? How can one import a Latex file (.tex; following the same style than the one as exported from a .mlx file) and convert it into a MATLAB live script again?
Indirectly, this war already asked in , but I would like to generate a complete MATLAB live script from Latex, including text and execuatble code, not transfering Latex equations into executable code.
So, is the following workflow possible: .mlx file --> Latex --> manual editing of this .tex file --> .mlx file --> execution in Matlab.
Best regards,

Accepted Answer

Jared MacDonald
Jared MacDonald on 2 Mar 2021
Hi Ingo,
Currently it is not possible to import a .tex file into MATLAB. Code could be written to do so but I don't know of any that exists. It's an intriguing idea, though, and I've made a note of it to our development team.

More Answers (0)


Find more on Live Scripts and Functions 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!