Why parameter "Number of delays" of Block "Tapped delay" must be a double number.

7 ビュー (過去 30 日間)
JIABAO
JIABAO 2024 年 1 月 30 日
編集済み: Fangjun Jiang 2024 年 2 月 1 日
Hello,
I want to know the reason that parameter "Number of delays" of Block "Tapped delay" must be a double number.
  1 件のコメント
Paul
Paul 2024 年 1 月 31 日
I don't know the reason. I am curious if that restriction is causing a problem.

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

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2024 年 1 月 31 日
  2 件のコメント
JIABAO
JIABAO 2024 年 2 月 1 日
Thank you for you answer !
I think the link you mentioned gives a solution to the problem, but I wonder why the limitation that "Number of Delays" must be double exists.
I will understand and accept it if specific reasons (e.g. For code generation or For simulation ) can be provided.
Fangjun Jiang
Fangjun Jiang 2024 年 2 月 1 日
編集済み: Fangjun Jiang 2024 年 2 月 1 日
Based on my reading of Andy Bartlett's (Mathworks Staff) answer, this limit (data type must be double) is un-necessary and "not so friendly". That could be a polite way to say a software bug.
I've experienced the same error in other places in Simulink. I think the reason could be just due to legacy.
Andy indicated that he had entered an enhancement request internally. I would say that enhancement is to remove this limitation.

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

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by