Using iteration block on multi-rate system
1 次查看(过去 30 天)
显示 更早的评论
I was provided a system composed of multiple subsystems operating at different sampling rates. Because my simulation runs at 100 Hz and the provided multi-rate subsystem runs at 200 Hz (composed of s-functions that I cannot alter) I want to loop the entire subsystem twice in order to incorporate the subsystem.
The error I'm receiving is "Only constant (inf) or inherited (-1) sample times are allowed in iterator subsystems".
0 个评论
采纳的回答
Co Melissant
2017-4-20
编辑:Co Melissant
2017-4-20
Issue related to (hard-coded?) sample time of the S-function I guess.
Can't you just increase the sample rate of the input signal(s) to the subsystem using a rate transition block ?
Co
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!