Signal Processing Toolbox |
|
Exporting Coefficients or Objects to a MAT-File
To save filter coefficients or a filter object as variables in a MAT-file:
- Select Export from the File menu. The Export dialog box appears.
- Select
MAT-file
from the Export To menu.
- Select
Coefficients
from the Export As menu to save the filter coefficients or select Objects
to save the filter in a filter object.
- For coefficients, assign variable names using the Numerator (for FIR filters) or Numerator and Denominator (for IIR filters), or SOS Matrix and Scale Values (for IIR filters in second-order section form) text boxes in the Variable Names region.
- For objects, assign the variable name in the Discrete Fitler (or Quantized Filter) text box. If you have variables with the same names in your workspace and you want to overwrite them, select the Overwrite Variables check box.
- Click the Export button. The Export to a MAT-File dialog box appears.
- Choose or enter a filename and click the Save button.
See also Saving and Opening Filter Design Sessions.
| Exporting Coefficients to an ASCII File | | Exporting to SPTool | |
© 1994-2005 The MathWorks, Inc.