FIR decimation sample time

4 views (last 30 days)
Marek Andrzej
Marek Andrzej on 14 Oct 2016
Answered: Marek Andrzej on 14 Oct 2016
While checking Sample Time colors option, or trying to build the model I get the following error:
Error in 'model_in_school2/FIR Decimation 1': All sample times for this block must be discrete. No continuous or constant sample times are allowed.
My model looks as follow
When I cut the FIR decimation out and check sample time color everything is discrete. How do I fix this error?

Answers (1)

Marek Andrzej
Marek Andrzej on 14 Oct 2016
OK I manually set sample time of everything before FIR decimation to the value I wanted, instead of inherited (-1).
It works.
Now I'll have to see how it works in dSPACE.

Products

Community Treasure Hunt

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

Start Hunting!