How to copy results obtained in matlab to powerpoint through program

1 view (last 30 days)
Planning for results obtained from matlab need to be copied to powerpoint automatically with a program.This can be done for figure.,,How about results obtained from some calculations

Answers (1)

Image Analyst
Image Analyst on 22 Nov 2012
You can do this with ActiveX, as you can with all Microsoft Office products. It can get very complicated depending if you just simply want to paste it anywhere (like you'd typed control-v) to fancier things like going to the proper slide, pasting it in, setting the size to what you want, setting the location, adding special effect like borders, shadows, animations/transitions, etc. There are demos of ActiveX in MATLAB Central - I know I've posted some, and there are more. I've never done it with Powerpoint so I can't help you with the Powerpoint-specific details, but just opening it up and loading the proper file should be pretty similar across all Office products so you can see how I did it for Excel in the following snippets:
Excel = actxserver('Excel.Application');
% Open up the workbook named in the variable fullFileName.
invoke(Excel.Workbooks,'Open', fullFileName);
Excel.visible = true;
% Then run the following code to close the activex server:
invoke(Excel.ActiveWorkbook,'Save');
Excel.Quit;
Excel.delete;
clear Excel;

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!