FIR decimation sample time

1 vue (au cours des 30 derniers jours)
Marek Andrzej
Marek Andrzej le 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?

Réponses (1)

Marek Andrzej
Marek Andrzej le 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.

Catégories

En savoir plus sur Get Started with DSP System Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by