×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Matlab and MS Word...

Matlab and MS Word...

Matlab and MS Word...

(OP)
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!!

RE: Matlab and MS Word...

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

RE: Matlab and MS Word...

(OP)
Thanks for the help!!!

RE: Matlab and MS Word...

(OP)
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!!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources