MATLAB COM Builder | ![]() ![]() |
Overview
Each MATLAB COM Builder component is built as a stand-alone COM object. You access a component through Visual Basic, C++, or any other language that supports COM. This section provides general information on how to integrate MATLAB COM Builder components into Visual Basic. It assumes that you have a working knowledge of VB and is not intended to be a discussion on how to program in Visual Basic. Refer to the VB documentation for general programming information.
You can easily integrate MATLAB COM Builder components into a VB project by creating a simple code module with functions and/or subroutines that load the necessary components, call methods as needed, and process any errors. In general, you need to address seven items in any code written to use MATLAB COM Builder components:
Note
All code samples in this section are for illustration purposes and reference a hypothetical class named myclass contained in a component named mycomponent with a version number of 1.0.
|
![]() | Programming with COM Builder Components | Adding Class Properties to COM Builder Objects | ![]() |