Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab and MS Word... 1

Status
Not open for further replies.

AQUAMAN0601

Mechanical
Jul 9, 2002
11
Hello everyone,

I was wondering if there was a way to creat a script in matlab to automatically export date to a Template in MS Word that would automatically generate a report.

Has anyone ever done this before...If yes. Could you send me some help on how to do this...thanks!!
 
Replies continue below

Recommended for you

If you can get MATLAB to autorun and create an output file, you can use VBA in WORD to start the autorun and then copy the output file and copy the results into a WORD document.

TTFN
 
I will give everyone the answer to my question...i finally figured it out tonight.

Matlab has a toolbox called report generator. You setup a report file in .rpt format and you set all your report parameters...then all you do is type the following in the command window:

report filename...

you can chose to have your report generate as a HTML file or as a RTS (MS Word rich text file)

Very brillinat and very simple to use!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor