Digital Filter Design block error, filter not valid, please redesign.
이전 댓글 표시
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
댓글 수: 10
Walter Roberson
2025년 12월 4일
What Response Type and what Design Method did you specify ?
Ahmed
2025년 12월 4일
Ahmed
2025년 12월 4일
Walter Roberson
2025년 12월 4일
In my testing, I could not replicate the problem.
Could you perhaps attach your model for testing?
Ahmed
2025년 12월 5일
Walter Roberson
2025년 12월 5일
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
2025년 12월 5일
Anumeha
2025년 12월 9일
Hi Ahmed,
Seeing the discussion above and getting the same error while trying with R2025a, I think the error can be ignored.
You can also report it as a bug at https://www.mathworks.com/support/bugreports/
Ahmed
2025년 12월 9일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Filter Design and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

