'test_one/​Foreground​/Integrato​r' has sample time [0, 0].

1 回表示 (過去 30 日間)
XC
XC 2017 年 6 月 5 日
編集済み: XC 2017 年 6 月 6 日
'test_one/Foreground/Integrator' has sample time [0, 0]. Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem 'test_one/Foreground'. What should I do?

回答 (1 件)

ES
ES 2017 年 6 月 5 日
Normally, it is sufficient for the blocks to inherit the sample times from the source blocks. In other words, Set sample time to inherited (-1).
  3 件のコメント
XC
XC 2017 年 6 月 6 日
XC
XC 2017 年 6 月 6 日
編集済み: XC 2017 年 6 月 6 日
It can run in the new program. I don't know how to resolve the conflict between the two blocks.

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

カテゴリ

Help Center および File Exchange建模 についてさらに検索

Community Treasure Hunt

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

Start Hunting!