How do I create a report (.doc or .txt or PDF) with Matlab WITHOUT the report generator?

I need to output a clinical report after some image analysis and we don't have access to the report generator with student software.

 Accepted Answer

Publish it!
doc publish

2 Comments

How can I include the figures that are produced in the code in the pdf? and exclude some portions of the code from being printed?
publish('clinicalreport.m','pdf')
Use sections, i.e. two % signs followed by a space:
imshow(magic(5))
surf(peaks)

Sign in to comment.

More Answers (1)

You can use ActiveX to control MATLAB, but I think it would be extraordinarily difficult to create a nicely formatted document this way. Just simple text would be fine/easy. Formatting and setting margins a little more difficult, and doing things like figures with captions, tables, equations, etc. would be pretty difficult.

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!