User`s guide

D Utility Library
D-12
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 for 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.
Property AutoResizeOutput As Boolean. This flag applies to Excel ranges only.
When the target output from a method call is a range of cells in an Excel
worksheet, and the output array size and shape is not known at the time of the
call, setting this flag to
True instructs the data conversion code to resize each
Excel range to fit the output array. Resizing is applied relative to the upper left
corner of each supplied range. The default value for this flag is
False.
Property TransposeOutput As Boolean. Setting this flag to True transposes the
output arguments. This flag is useful when processing an output parameter
from a method call on an Excel Builder component, where the MATLAB
Table D-2: Array Formatting Rules for Output Arrays
Value Behavior
mwArrayFormatAsIs
Converts arrays according to the default
conversion rules listed in Table B-2, MATLAB 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
data converter converts this array to a
Variant
that contains 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
Variants is created.
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 value for the respective index.