Digital Filter Design block error, filter not valid, please redesign.

37 views (last 30 days)
I am using MATLAB R2025b and trying to design FIR filters using window function in Simulink using the Digital Filter Design Block, when I run the model it gives an error message box saying: "fliiter design is not valid. please redesign". I tried generating MATLAB code of the block and the code runs with no errors.
parameters I used:
low pass filter
rectangular window
order = 50
Fs = 48000 Hz
Fc = 10800 Hz
  8 Comments
Walter Roberson
Walter Roberson 4 minutes ago
Hmmm, I don't know.
I went into the block and commented out all of the filter types except for one. I then played with the filter settings. As long as the setting was Window, the details of the Scaled windowing made a difference. Most of the settings generated that error, but a couple of them did not generate any error. I added a scope block at the top level, and I observed that valid-looking signals were generated whether or not the error message was generated.
Ahmed
Ahmed about 1 hour ago
Oh, the output does look valid regardless of the message, thank you for your assistance.

Sign in to comment.

Answers (0)

Categories

Find more on Filter Design and Analysis in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!