Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Jul 9, 2002
Messages
11
Location
CA
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!!
 
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

Back
Top