com对象马铃薯草
The Microsoft®组件对象模型(com) provides a framework for integrating reusable, binary software components into an application. Because components are implemented with compiled code, the source code can be written in programming languages that support COM. Upgrades to applications are simplified, as components can simply be swapped without the need to recompile the entire application. In addition, a component's location is transparent to the application, so components can be relocated to a separate process or even a remote system without having to modify the application.
或者,考虑使用Microsoft .NET Framework。
Matlab支金宝app持Microsoft Windows上的COM和.NET Framework集成®仅限平台。
Funzioni
ActxServer |
创建COM服务器 |
ActxGetRunningserver |
掌握自动化服务器的运行实例 |
方法浏览量 |
View class methods |
EventListeners. |
列出与COM对象事件关联的事件处理程序函数 |
注册商 |
在运行时将事件处理程序关联COM对象事件 |
未注册 |
取消注册与COM对象事件关联的所有事件处理程序 |
unregisterevent |
在运行时取消注册与COM对象事件关联的事件处理程序 |
iscom |
确定输入是否为COM对象 |
isevent |
确定输入是否为COM对象事件 |
isinterface |
Determine whether input is COM interface |
Oggetti
com |
访问COM组件马铃薯草 |
ESEMPI.e istruzioni
微软办公室
此示例显示如何将Matlab矩阵写入Excel®电子表格。
Read Spreadsheet Data Using Excel as Automation Server
此示例显示如何使用COM Automation Server访问来自Matlab的另一个应用程序。
此示例显示如何在Excel®电子表格中更改光标图标。
Change Row Height in Range of Spreadsheet Cells
此示例显示如何更改行的高度,由a定义Range
object, in a spreadsheet.
Insert Spreadsheet After First Sheet
This example shows how to skip an optional input argument in the Excel添加
method, used to insert a sheet into a workbook.
此示例显示如何从打开文件中读取数据,Weekly_log.xlsx.
, in MATLAB.
此示例显示如何处理COM接口事件,如何在A中设置事件微软Excel工作簿
object, and how to handle itsbeforeclose.
event.
Learn about a COM object using MATLAB commands.
阴凉
COM概念及MATLAB中COM支持的概述。金宝app
展示如何使用MATLAB的COM接口的示例。
在使用COM对象之前,必须注册其服务器。
如何创建Microsoft控件和COM服务器对象。
将数据传递给COM对象的数据并处理数据。
列表属性名称和设置值,使用多个对象和属性,使用属性检查器,使用枚举值和自定义属性。
You execute, or邀请,属于COM对象的COM函数或方法。
响应事件,写入事件处理程序。
采用注册商
注册服务器事件。
采用these MATLAB functions to save and restore the state of a COM control object.
使用com接口。
com收藏品是支持可以迭代的相关COM金宝app对象组的方法。
Supported Client/Server Configurations
MATLAB中的COM客户端 - 服务器配置。
分布式组件对象模型(DCOM)是一种协议,允许客户端通过网络使用远程COM对象。
Risoluzione一些problemi
Microsoft不支持将32位DLL金宝app或In-Process COM服务器加载到64位应用程序中,还是相反。
Interpreting Argument Callouts in COM Error Messages
当MATLAB客户端向COM服务器应用程序向COM服务器应用程序发送命令时,服务器以以下格式发出错误消息。