User`s guide
Utility Library Classes
Argument Type Description
nStartAt Long
Optional starting
index (zero-based)
in the array to begin
processing. Default =
0.
bAutoResize Boolean
Optional auto-resize
flag. If this flag is
True,anyExcelrange
output arguments
are resized to fit the
dimensions of the
Variant to be copied.
The resizing process is
applied relative to the
upper-left corner of the
supplied range. Default
=
False.
[pVar0],[pVar1],
...
Variant
Optional list of
Variants to receive the
array items contained
in
VarArg.0to32
argument s can be
passed.
Return Value. None.
Remarks. This function can process a
Variant array in a single call or
through multiple calls using the
nStartAt pa ra m eter.
Example. This example uses
MWUnpack to process a varargout cell into
several Excel ranges, w hile auto-resizing each range. The
varargout
parameter is supplied from a method that has been compiled from the
MATLAB function.
function varargout = randvectors
for i=1:nargout
varargout{i} = rand(i,1);
end
C-7