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

 Akzeptierte Antwort

Jared MacDonald
Jared MacDonald am 2 Mär. 2021

1 Stimme

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

Weitere Antworten (0)

Kategorien

Mehr zu Live Scripts and Functions finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by