User`s guide
C Utility Library
Referencing Utility Classes
This section describes the MWComUtil library provided with MATLAB Builder
for Excel. This library is freely distributable and includes several functions
used in array process ing, as well as type definitions used in data conversio n.
This libra r y is c ontained in th e f il e
mwcomutil.dll. It m ust be registered once
on each m achine that uses Excel Builder components.
Register the
MWComUtil library at the DOS command prompt with the
following command:
mwregsvr mwcomutil.dll
The MWComUtil library includes se ven classes (see “Utility Library Classes” on
page C-3) and three enumerated types (see “Enumerations” on page C-32).
Before using these types, you must make explicit references to the
MWComUtil
type libraries in the Visual Basic IDE. To do this, click Tools > References
from the main menu of the VB editor. The References dialog box appears
with a scrollable list of available type libraries. From this list, select
MWComUtil 7.5 Type Library and click OK.
C-2