Matlab 2 Latex
by Kevin Mader
06 Dec 2006
(Updated 11 Dec 2006)
A function to convert matlab functions to formatted colored .tex files .
|
Watch this File
|
| File Information |
| Description |
m2tex converts a matlab file into a colored, tabbed .m file will all of the proper symbols converted to be latex compatible.
The latex files it produces can easily be included in other files by using /input{filename}
or /texttt{input{filename}} for more matlab look to the code
Remember latex assumes that the extension for any file used in the input command is .tex so you should not put it on.
There is another program on the site that lets you put .m files in latex that I did not find until I had already written this. This program is different because it is a matlab function that converts your code to .tex. The other is a latex style that lets you import matlab code. |
| MATLAB release |
MATLAB 7.3 (R2006b)
|
| Other requirements |
Latex |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (10) |
| 07 Dec 2006 |
Barun Mishra
|
|
|
| 07 Dec 2006 |
Chris Buc
|
|
|
| 28 Dec 2006 |
Pierre Bertrand
|
|
|
| 29 Oct 2007 |
Matthias Hein
|
|
|
| 01 Dec 2007 |
emma olsen
|
|
|
| 06 May 2008 |
benno bernen
|
|
|
| 24 Jul 2009 |
Mehmet Niyazi ÇANKAYA
|
|
|
| 05 Dec 2009 |
Josh Inya
|
|
|
| 10 Dec 2009 |
Chirackel Yoonus
|
|
|
| 26 Oct 2011 |
Harold
|
|
|
| Updates |
| 07 Dec 2006 |
Added the ability to input a string for conversion |
| 11 Dec 2006 |
Fixed two bugs, one relating to { , } , _ characters. The other about indenting. |
|
Contact us at files@mathworks.com