如何在 Matlab 和 power point 或 Matlab 和 acrobat reader 之间进行通信
我想将一个变量从 Matlab 发送到 PowerPoint 或 AcrobatReader,然后根据该变量的值,PowerPoint 转到下一张或上一张幻灯片或退出,或者在 acrobatreader 中放大或缩小。 是否可以?应该是因为现在我们可以远程控制这类软件,这意味着它们可以从外部获取数据,但是协议是怎样的或是什么? 坦克斯。
I want to send a variable from Matlab to PowerPoint or AcrobatReader, then depend on the value of this variable, PowerPoint goes to next or previous slide or exit, or zoom in or zoom out in acrobatreader.
is it possible? it should be because nowadays we can control these kind of software with remote control it means they can get data from outside, but how is or what is the protocol?
tanx.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以通过 ActiveX 驱动 PowerPoint
您应该查看
actxserver
的 MATLAB 文档,以及 MSDN Power Point 开发人员参考。 ActiveX 对象的大多数方法和属性在 MATLAB 中显示为方法和属性。您可以使用methods(h)
和get(h)
来检查它们。唯一棘手的是集合。您通常需要输入类似hCollection.Item(N)
的内容才能从集合中获取第 N 个项目。You can drive PowerPoint via ActiveX
You should check out the MATLAB documentation for
actxserver
, and also the MSDN Power Point developer Reference. Most of the methods and properties of an ActiveX object show up in MATLAB as methods and properties. You can usemethods(h)
andget(h)
to examine them. The only tricky ones are collections. You will generally need to say something likehCollection.Item(N)
to get the N-th item from the collection.我的理解是,远程控制演示者通过模拟击键(例如下一张幻灯片的右箭头等)来工作。要在 MATLAB 中执行类似的操作,您可以以与以下相同的方式探索
java.awt.Robot
此帖子来自MathWorks。My understanding is that remote control presenters work by simulating keystrokes (such as right arrow for next slide, etc.) To do something similar in MATLAB, you could explore
java.awt.Robot
in the same way as this post from MathWorks.嘿,也许这会对您有所帮助,
您可以查看 http://www.mathworks。 de/matlabcentral/fileexchange/44851-toppt
Hey maybe this will help you,
you can have a look on http://www.mathworks.de/matlabcentral/fileexchange/44851-toppt