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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!