How to format GUI output into .doc file by push button?

3 Ansichten (letzte 30 Tage)
Mike Choiniere
Mike Choiniere am 4 Sep. 2015
I am a student and the Report Generator is not available for the student version but I'd like to produce an editable ms word doc with specific outputs from the GUI I am writing. I've successfully opened a new word document and placed figures and "type text" using
Word_COM = actxserver('Word.Application');
set(Word_COM,'Visible',1);
File_COM = Word_COM.Documents.Add;
invoke(File_COM)
Word_COM.Selection.InlineShapes.AddPicture('C:\Users\Mike\Desktop\Vibrations\GUI\response.png');
Word_COM.Selection.MoveRight(1);
Word_COM.Selection.TypeParagraph;
Word_COM.Selection.TypeText('Display Data Here..........');
Word_COM.Selection.TypeParagraph;
How can I add output data from handles?
Thank you

Antworten (0)

Kategorien

Mehr zu Programming Utilities finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by