User`s guide
Utility Library Classes
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. Thisflagisusefulwhenprocessingan
output parameter from a method call on an Excel Builder component, wh ere
the M ATLAB function returns outputs as row vectors, and you desire to place
the data into columns. The default value for this flag is
False.
Property DataConversionFlags As MWDataConversionFlags
The DataConversionFlags property controls how input variables are
processed when type coe rcion is needed. The
MWDataConversionFlags class
is a noncreatable class accessed through an
MWFlags class instance. This
class co ntains these properties:
• “Property CoerceNumericToType As mwDataType” on page C-13
• “Property InputDateFormat As mwDateFormat” on page C-13
• “PropertyOutputAsDate AsBoolean”onpageC-15
• “PropertyDateBias As L ong” on page C-15
Property CoerceNum ericToType A s mwDataType. This property
converts all numeric input arguments to one specific MATLAB type. This
flag is useful is when variables maintained within the Visual Basic code
are different types, e.g.,
Long, Integer, etc., and all variables pas sed to
the compiled MATLAB code must be doubles. The default value for this
property is
mwTypeDefault, w hich uses the default rules in COM VARIANT to
MATLAB Conversion Rules on page B-10.
Property InputDateFormat As mwDateFormat. This property converts
dates passed as input parameters to method calls on Excel B uilder classes.
Thedefaultvalueis
mwDateFormatNumeric. The behaviors indicated by this
flag are shown in the following table.
C-13