For iterator subsystem output cannot hold one sample time

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

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
madhan ravi 2023년 11월 26일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Subsystems에 대해 자세히 알아보기

제품

질문:

2023년 11월 13일

답변:

2023년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by