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.

 Risposta accettata

Publish it!
doc publish

2 Commenti

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)

Accedi per commentare.

Più risposte (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.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by