User`s guide
Utility Library Classes
Property InputArrayFormat As mwArrayFormat. This property of type
mwArrayFormat controls the formatting of arrays passed as input parameters
to Excel Builder class methods. The default value is
mwArrayFormatMatrix.
The behaviors indicated by th is flag are listed in the followi ng table.
Array Formatting Rules for Input Arrays
Value Behavio r
mwArrayFormatAsIs
Converts arrays according to the
default convers ion rules listed in
“Data Conversion Rules” on page
B-2.
mwArrayFormatCell
Coerces all arrays into cell arrays.
Input scalar or numeric array
arguments a re converted to cell
arrays with each cell containing a
scalar value for the respective index.
mwArrayFormatMatrix
Coerces all arrays into matrices.
Whenaninputargumentis
encountered that is an array of
Variants (the default behavior is
to convert it to a cell array), the
data converter converts this array
to a matrix if each
Variant is
single valued, and all elements are
homogeneous and of a numeric type.
If this convers ion is not p ossible,
creates a cell array.
Property InputArrayIndFlag As Long. This property governs the level at
whichtoapplytherulesetbythe
InputArrayFormat property for neste d
arrays (an array of
Variantsispassedandeachelementofthearrayisan
array itself). It is not necessary to modify this flag for
varargin parameters.
The data conversion code automatically increments the value o f this flag by
1for
varargin cells, thus applying the InputArrayFormat flag to each cell
of a
varargin parameter. The default value i s 0.
C-11