PDF Latex file using Matlab

How can I create a PDF Latex file with the code I've written on Matlab?
I've written my code and now I wanted to create a file, using Matlab where my code would appear, similarly to what happens with KnitR using R programming language.
Thank you.

 Respuesta aceptada

Subhadeep Koley
Subhadeep Koley el 30 de Dic. de 2020

0 votos

Copy and paste your code into a new Live Script. In the Live Editor tab, select Export > Export to LaTeX.
MATLAB will also automatically create a separate LaTeX Style Documents "matlab.sty" file in the same folder as the output document.

Más respuestas (0)

Etiquetas

Preguntada:

el 29 de Dic. de 2020

Comentada:

el 30 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by