Graph Stuck after a few vectors

I have attached a screenshot of my design.
when I start simulating it stuck and only plot a few vectors of data.
I think it’s becasue of variable time shift block, it’s a hierarchy
when I connect a constant source to i’ts float input the design works
perfectly but when I connect output of short to float it does not work,
I think it’s becasue Argmax block produces one output for every vector
the variable time shift needs that output constantly.
how can i fix this?

Hi Mohammad,

to try, you could just use the repeat block.

Best regards,