Digital Signal Processing Reference
In-Depth Information
FIGURE 9.17. Plot of FFT magnitude (with MATLAB) to illustrate RTDX using Visual
C
++
for the project rtdx_vc_matlabFFT.
new application (.exe) file. Verify that the FFT plot now contains the x and y axis
labels.
Creation of Visual C
Application and Support Files
1. Repeat steps 1-3 in Example 9.7. The Resource Dialog editor should be
opened. Resize the main dialog window. Right-click on the TODO:Place
dialog control here and select the Properties menu item. From the resulting
property dialog in the Caption field, enter any messages that you want dis-
played in the dialog window (such as RTDX with Visual C
++
++
to . . .), and then
close the property dialog window.
2. Click on the ClassView pane to expose the three classes: CaboutDlg ,
CRtdx _ vc _ fftMatlabApp , and CRtdx _ vc _ fftMatlabDlg. Figure 9.18 a shows the
ClassView pane displaying these classes and a message inserted by the user in
step 3. You can adjust the size of the dialog window so that it looks like Figure
9.18 b , which will pop up when you run the executable file. (Delete the cancel
button and change the text of the OK button to Exit, which is already done.)
3. Select View from the main menu, then ClassWizard. This pops up the MFC
ClassWizard dialog window. Repeat step 9 in Example 9.7.
Search WWH ::




Custom Search