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

52 Ansichten (letzte 30 Tage)
Ahmed
Ahmed am 4 Dez. 2025 um 15:00
Kommentiert: Ahmed am 9 Dez. 2025 um 7:20
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 Kommentare
Anumeha
Anumeha am 9 Dez. 2025 um 6:36
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
Ahmed am 9 Dez. 2025 um 7:20

The error stopped showing up after I set a value for the sample time for the sin wave (1/48000 (filter's sample time)) and changed the solver options to:

fixed step discrete fixed step size = 1/48000

I didn't test which solved the error

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Filter Design and Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by