User`s guide

Spectral Analysis Example
2 Create a project with the following settings.
Setting
Value
Component name
Fourier
Class name
Fourier
Project d irectory The name of your work directory followed by the
component name.
Show verbose
output
Selected
3 Add the computefft.m and plotfft.m M -files to the project.
4 Save the project. M ake note of the project directory because you will refer
to it later when you save your add-in.
5 Build the component by clicking the Build button in the Deployment Tool
toolbar.
Integrating the Component Using VBA
Having built your co m ponent, you can im plement the necess ary VBA code to
integrateitintoExcel.
Selecting the Libraries
Follow these steps to open Excel and select the libraries you need to de velop
the add-in:
1 Start Excel on your system.
2 From the E xcel main menu, select Tools > Macro > Visual Basic Editor.
3 W hen the Visual Basic Editor starts, select Tools > References to open
the P roject References dialog box.
4 Select Fourier 1.0 Type Library and MWComUtil 7.5 Type Library
from the list.
3-15