configure clock in simulink to inherit the sample time

21 ビュー (過去 30 日間)
aparnasri sekar
aparnasri sekar 2020 年 7 月 13 日
回答済み: rubindan 2020 年 7 月 13 日
I am trying to use the clock block inside a subsystem which has a function call generator, this results in the error 'clock has sample time [0, 0]. Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem'. How to get rid of this?

採用された回答

rubindan
rubindan 2020 年 7 月 13 日
To get arround it you can put the clock block outside this subsystem and creatre an additional input for the clock time.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by