General ⇒ LaTex to compile from a Matlab command
LaTex to compile from a Matlab command
What I am asking i think might be very compicated and requires knowledge of two different programs but I want to know if it is possible. If you can tell me how, it would be awesome.
Basically, I write a lot of reports. Lots of them. And they are mostly the same but contain different information every time.
Therefore, I decided to write a GUI in Matlab that creates a .tex file which is then compiled by LEd. This works so far, it evens open LEd when I run the Matlab program but you still have to manually press the compile icon.
Now, is it possible to get Matlab to tell LEd to start compiling? In other words, write in the Matlab program a command to get the LEd to create the pdf.
This would just be so cool if this is possible.
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
LaTex to compile from a Matlab command
Why do you need to start LEd for compilation? Just call (pdf)latex directly from your MATLAB script with the system function.pooley343 wrote:I decided to write a GUI in Matlab that creates a .tex file which is then compiled by LEd. This works so far, it evens open LEd when I run the Matlab program but you still have to manually press the compile icon.
Cheers,
Tomek