FIR decimation sample time

1 visualizzazione (ultimi 30 giorni)
Marek Andrzej
Marek Andrzej il 14 Ott 2016
Risposto: Marek Andrzej il 14 Ott 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?

Risposte (1)

Marek Andrzej
Marek Andrzej il 14 Ott 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.

Categorie

Scopri di più su Get Started with DSP System Toolbox in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by