User`s guide

Utility Library Classes
D-11
Property InputArrayIndFlag As Long. This property governs the level at which to
apply the rule set by the
InputArrayFormat property for nested arrays (an
array of
Variants is passed and each element of the array is an array itself). It
is not necessary to modify this flag for
varargin parameters. The data
conversion code automatically increments the value of this flag by 1 for
varargin cells, thus applying the InputArrayFormat flag to each cell of a
varargin parameter. The default value is 0.
Property OutputArrayFormat As mwArrayFormat. 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 next table.
Table D-1: Array Formatting Rules for Input Arrays
Value Behavior
mwArrayFormatAsIs
Converts arrays according to the default
conversion rules listed in Table B-3, COM
VARIANT to MATLAB Conversion Rules, on
page B-10.
mwArrayFormatMatrix
Coerces all arrays into matrices. When an input
argument is 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 conversion is not possible, creates a
cell array.
mwArrayFormatCell
Coerces all arrays into cell arrays. Input scalar or
numeric array arguments are converted to cell
arrays with each cell containing a scalar value for
the respective index.