How do I programatically control Power Point from MATLAB?

15 次查看(过去 30 天)
I am trying to programatically control Power Point from MATLAB.
I want to use the Group and Ungroup methods such that I can group and ungroup shapes.
How do I use these two methods via MATLAB?

回答(3 个)

Walter Roberson
Walter Roberson 2011-1-26
I do not know the specific way to get to Group and Ungroup, but this previous cssm discussion should provide some useful hints in getting started and hints about naming conventions.
Once you have created the ActiveX control, you can probably use the methods() function and the get() function to probe the routines and properties that are available.
  7 个评论
Walter Roberson
Walter Roberson 2011-2-7
I have not yet been able to find documentation about the exact class that Array returns, but my suggestion would be to try using
thisgroup = thisshape.Range({'shpOne', 'shpTwo', 'shpThree'}).Group;
I make no promises on this, as I am not familiar with this interface.
Murugaiyan
Murugaiyan 2011-2-7
hi,
still trying i tried your both solns hoping to get but...
anyway thanks for your help if you come across any share it
thanks all of you

请先登录,再进行评论。


Brett Shoelson
Brett Shoelson 2011-2-4
Also: If you're interested in "going the other way," Consider looking at this Calling MATLAB from PowerPoint, on the MATLAB Central File Exchange! I often run my MATLAB demos directly from my Powerpoints.
Cheres,
Brett
  1 个评论
Jiro Doke
Jiro Doke 2011-2-4
Brett, do you know how to "embed" MATLAB figures into PowerPoint so that you can interact with it (zoom, pan, rotate)? There's a question here: http://www.mathworks.com/matlabcentral/answers/776-how-can-i-put-a-matlab-figure-in-a-presentation-and-rotate-the-axes-during-the-presentation

请先登录,再进行评论。


John
John 2013-7-7
You may also open/read/move/convert/repair powerpoint files by the use of tool to fix powerpoint files

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by