After you package and install a COM component, you can access the component in any program that supports COM, such as Microsoft® Visual Basic®, Microsoft Visual C++®, or Visual C#.
Your code module must do the following:
Load the components created by the compiler
Call methods of the component class
Deal with data conversion and parameter passing
Process errors
Note: These topics provide general information on how to integrate COM components created with the compiler into your COM-compliant programs. The presentation focuses on the special programming techniques needed for components based on the MATLAB® product and generated by the compiler. It assumes that you have a working knowledge of the programming language used in these programs. For information about programming with COM objects in Microsoft Visual Studio®, see articles in the MSDN Library, such as Calling COM Components from .NET Clients. |