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

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

태그

질문:

2015년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by