FIR decimation sample time

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 日

1 投票

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.

カテゴリ

ヘルプ センター および File ExchangeMultirate and Multistage Filters についてさらに検索

製品

質問済み:

2016 年 10 月 14 日

回答済み:

2016 年 10 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by