PDF Latex file using Matlab

조회 수: 60 (최근 30일)
Catarina
Catarina 2020년 12월 29일
댓글: Catarina 2020년 12월 30일
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.

채택된 답변

Subhadeep Koley
Subhadeep Koley 2020년 12월 30일
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.
  댓글 수: 1
Catarina
Catarina 2020년 12월 30일
Thank you so much, works perfectly!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Live Scripts and Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by