configure clock in simulink to inherit the sample time
5 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!