MATLAB BUILDER EX 1 Guide de l'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 164
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 102
Calling Conventions
varargin As Variant)
(See “Programming w ith COM Components C reated by MATLAB Builder
for .NET” in the MATLAB B uilder for .NET documentation for mappings
to other l angu ag es, such as C++.) Visual Basic prov ides native support for
COM
VARIANTswiththeVariant type,aswellasimplicitconversionsforall
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.
Excel B uilder components also provide d irect support for the Excel
Range
object, used by VBA to represent a range of cells in an Excel worksheet. See
the VBA documentation included with Microsoft Excel for more information
on VBA data types and Excel
Range manipulation.
MATLAB Compiler Output
Excel Builder generates a default Visual Basic functio n wrapper for each class
method with the following format:
Function foo(Optional X1 As Variant, _
Optional X2 As Variant, _
.
.
.
Optional varargin1 As Variant, _
Optional varargin2 As Variant, _
.
.
.
Optional vararginN As Variant) _
As Variant
Dim Y1, Y2, ..., varargout As Variant
Dim varargin As Variant
.
.
.
(other declarations)
.
.
A-13
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 163 164

Commentaires sur ces manuels

Pas de commentaire