GeneralLaTex to compile from a Matlab command

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pooley343
Posts: 17
Joined: Mon Oct 20, 2008 2:53 pm

LaTex to compile from a Matlab command

Post by pooley343 »

Hey everyone.

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

LaTex to compile from a Matlab command

Post by T3. »

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.
Why do you need to start LEd for compilation? Just call (pdf)latex directly from your MATLAB script with the system function.

Cheers,

Tomek
Post Reply