フィルターのクリア

Sample time Propagation Error - The sample time after propagation is [0, 0]. Enter a discrete sample time

13 ビュー (過去 30 日間)
Hello,
I'm getting the following error,
The sample time after propagation is [0, 0]. Enter a discrete sample time in ....... Zero-Order Hold1
I checked the entire model, all blocks have a sample time of 0.01 or -1(inherited) and also there are no continuous states within the model. I'm not sure why this error is coming up.
The above error points to Zero-Order Hold block which has a sample time of -1 (inherited), if I change that to 0.01 the simulation is running, but there are lot of places within my model which has inherited sample time changing each and every block would be cumbersome.
I appreciate any suggestion to overcome this issue.
Thank you!
Vignesh

回答 (1 件)

Adam Hug
Adam Hug 2015 年 7 月 2 日
Hi Vignesh,
Here is the doc page on how Simulink propogates sample times:
I suspect that you are feeding the Zero-Order hold block a continuous signal. According to the chart, this may be confusing Simulink when it comes time for it to assign sample times to each block.
  2 件のコメント
Vignesh Venkatachalam
Vignesh Venkatachalam 2015 年 7 月 6 日
Thanks Adam that was very helpful, You were right, at a particular place I was feeding in a continuous signal, after changing that the above issue is resolved.
Thanks again, I really appreciate it.
Amin  Ahmed
Amin Ahmed 2016 年 5 月 28 日
Ok tell us how did you overcome this problem

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSignal Attributes and Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by