FIR decimation sample time

1 次查看(过去 30 天)
Marek Andrzej
Marek Andrzej 2016-10-14
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?

回答(1 个)

Marek Andrzej
Marek Andrzej 2016-10-14
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with DSP System Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by