MATLAB COM Builder    

Visual Basic Mapping

The Visual Basic mapping to the IDL signature shown above is

(See the COM documentation for mappings to other languages.) Visual Basic provides native support for COM VARIANTs with the Variant type, as well as implicit conversions for all Visual Basic basic types to and from Variants. In general, arrays/scalars of any Visual Basic basic type, as well as arrays/scalars of Variant types, can be passed as arguments. MATLAB COM Builder components also provide direct support for the Excel Range object, used by Visual Basic for Applications to represent a range of cells in an Excel worksheet. See the Visual Basic for Applications documentation included with Microsoft Excel for more information on Visual Basic data types and Excel Range manipulation.


  IDL Mapping Data Conversion