MATLAB Answers

Life Scripts from Latex Impoert

3 views (last 30 days)
Ingo
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 https://de.mathworks.com/matlabcentral/answers/499321-importing-latex-code-into-matlab-scripts , 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,
Ingo

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.
Jared

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by