M2TEX

버전 1.0.0.0 (3.55 KB) 작성자: Andreas
Extracts comments from m-files to create Contents.m and TeX-file.
다운로드 수: 1.7K
업데이트 날짜: 2004/5/27

라이선스 보기

M2TEX loops over all m-files in a directory and extracts the comments section from them.

The short one-line description is used to create a Contents.m, that can be displayed with MATLAB's help function.

A LaTeX file is created with a table containing short descriptions and sections with m-file titles containing the complete help comments.

>> ls

. SecDraw.m plt ternplot.m
.. brushlinktool pp.m teximage.m
Contents.m dirplot_demo.m ref.tex
Contents.m~ espTk2 ref.tex~
Dirplot.m hatch.m ternlabel.m

>> m2tex

ans =

Dirplot.m ** DIRPLOT Polar directivity plot.
SecDraw.m ** SECDRAW Draw section of a circle
dirplot_demo.m ** dirplot_demo Demonstrates usage of DIRPLOT.M to generate polar directivity plots.
hatch.m ** HATCH Hatches a two-dimensional domain.
pp.m ** pp
ternlabel.m ** TERNLABEL label ternary phase diagram
ternplot.m ** TERNPLOT plot ternary phase diagram
teximage.m ** TEXIMAGE display a LaTeX string as a bitmap image

Known problems:
- Probably not all special characters are handles correctly
- Wrong Formatting usually results in warnings "use of uninitialized chunk ..."
- Maximum number of m-files per directory is 99. If you have more, run the perl script directly from the command line.

인용 양식

Andreas (2024). M2TEX (https://www.mathworks.com/matlabcentral/fileexchange/5010-m2tex), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 LaTeX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0