Life Scripts from Latex Impoert
5 views (last 30 days)
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.
Jared MacDonald on 2 Mar 2021
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.