Hi,
You could try the For Iterator Subsystem. http://in.mathworks.com/help/simulink/slref/foriteratorsubsystem.html
Else you could simply make a subsystem with y as input and z = f(y) as output and run your simulation with time step of 1s upto 100s. Hope this helps!!
Cheers!
