Signal Processing Toolbox Previous page   Next Page

Exporting Coefficients or Objects to a MAT-File

To save filter coefficients or a filter object as variables in a MAT-file:

  1. Select Export from the File menu. The Export dialog box appears.
  2. Select MAT-file from the Export To menu.
  3. Select Coefficients from the Export As menu to save the filter coefficients or select Objects to save the filter in a filter object.
  4. 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.
  1. 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.

  1. Click the Export button. The Export to a MAT-File dialog box appears.
  2. Choose or enter a filename and click the Save button.

See also Saving and Opening Filter Design Sessions.


Previous page  Exporting Coefficients to an ASCII File Exporting to SPTool Next page

© 1994-2005 The MathWorks, Inc.