Integrating MATLAB® generated COM components into an application requires you to use a combination of APIs. MATLAB Compiler SDK™ uses APIs to initialize the MATLAB Runtime, load the compiled MATLAB functions into the MATLAB Runtime, and manage data that is passed between the COM components and the MATLAB Runtime. The compiler generates some of the APIs based on the signatures of the compiled functions. MATLAB Runtime provides other APIs that are consistent for all applications.
Use COM components for integrating MATLAB functions into Microsoft® Office products. MATLAB Compiler™ offers direct integration with Microsoft Excel®.
|Create COM component for deployment outside MATLAB|
|Options for building COM components|
|Display version and location information for MATLAB Runtime installer corresponding to current platform|
|Return MATLAB Runtime version number that matches MATLAB version|
How to register and reference the utilities you need in your program
Describes how you call the class methods to access the encapsulated MATLAB functions
How to integrate a COM object into a Visual C++® program
Describes how you can pass multiple arguments as a
by creating a
Variant array, assigning each element
of the array to the respective input argument
Describes array formatting and data conversion flags
Describes class properties, which allow an object to retain an internal state between method calls
How to handle interaction in a console-based program that creates MATLAB figures
How to use MATLAB function
query the system registry for any installed COM components created
with the MATLAB
Compiler SDK product
Demonstrates the creation of a COM component from a simple MATLAB file
Describes how to install/deploy created components on target computers
Describes the integration of COM components created with the MATLAB Compiler SDK product into programs
Describes the Microsoft Visual Basic® exception handling capability
Describes the registration process for COM components created by the MATLAB Compiler SDK product.
Converting between MATLAB and COM variants.
Describes the calling conventions for COM components created by the MATLAB Compiler SDK product