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

조회 수: 2 (최근 30일)
Mike Choiniere
Mike Choiniere 2015년 9월 4일
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개)

카테고리

Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by