User`s guide
Utility Library Classes
D-13
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 coercion is needed. The
MWDataConversionFlags class is a
noncreatable class accessed through an
MWFlags class instance. This class
contains these properties:
• “Property CoerceNumericToType As mwDataType” on page D-13
• “Property InputDateFormat As mwDateFormat” on page D-13
• “PropertyOutputAsDate As Boolean” on page D-15
• “PropertyDateBias As Long” on page D-15
Property CoerceNumericToType As 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 passed to the compiled MATLAB code
must be doubles. The default value for this property is
mwTypeDefault, which
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 Builder classes. The default value is
mwDateFormatNumeric. The behaviors indicated by this flag are shown in
Table D-3, Conversion Rules for Input Dates.
Table D-3: Conversion Rules for Input Dates
Value Behavior
mwDateFormatNumeric
Convert dates to numeric values as indicated by
the rule listed in Table B-3, COM VARIANT to
MATLAB Conversion Rules, on page B-10.
mwDateFormatString
Convert input dates to strings.