For iterator subsystem output cannot hold one sample time
1 次查看(过去 30 天)
显示 更早的评论
Hi, guys, I created a for iterator subsystem to get input's index, but the output cannot hold for one sample time, do you know what's going on here, thanks for your reply.
Input is mux signals and size is 20, N is 20.
the output is weird
1 个评论
Fangjun Jiang
2023-11-13
It seems you are not using the for-itertor correctly. Explain what you try to achieve. There might be a simple solution.
回答(1 个)
madhan ravi
2023-11-26
The picture doesn't show the x axis ticks. The input signal values are not shown to us. It is important to note that the signal data type of the input signal unless it is an uint or int or a boolean unexpected behaviour can b expected. If not make sure to convert the signal data type to the ones I mentioned above before comparing it to zero.
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!