User`s guide
C Utility Library
Property OutputArrayF orm a t As mwArra yFo rmat. This property of type
mwArrayFormat controls the formatting of arrays passed as output parameters
to Excel Builder class methods. The default value is
mwArrayFormatAsIs.The
behaviors indicated by this flag are listed in the following table.
Array Form a tting Rules for Output Arrays
Value Behavio r
mwArrayFormatAsIs
Converts arrays according to the
default conversion rules listed
in MAT LAB to COM VARIANT
Conversion Rules on page B-5.
mwArrayFormatMatrix
Coerces all arrays into matrices.
When an output cell array argument
is encountered (the default behavior
converts it to an array of
Variants),
the d ata converter converts this
array to a
Variant that con tain s a
simple numeric array if each cell is
single valued, and all elements are
homogeneous and of a numeric type.
If this conversion is not possible, an
array of
Variantsiscreated.
mwArrayFormatCell
Coerces all output arrays into
arrays of
Variants. Output scalar
or numeric array arguments are
converted to arrays of
Variants,
each
Variant containing a scalar
valuefortherespectiveindex.
Property OutputArrayIndFlag As Long. This property is similar to the
InputArrayIndFalg property, as it governs the level at which to apply the
rule set by the
OutputArrayFormat property fo r nested arrays. As with
the input case, this flag is automatically incremented by 1 for a
varargout
parameter. The default value of this flag is 0.
C-12