MATLAB: Real time in SIMULINK

find number in periodsimulinksimulink time

Hello,
I would like to ''read'' some numbers throughout the simulation, in specific period time. How can i do it?? Any suggestions??
My input has a 17001 numbers.
I would like to read numbers between:
- 1400:1800
- 2800:3300
- 4000:4400
- 5400:5800
- 6800:7100
- 8100:8600
- 9400:9600
- 10800:11200
- 11700:11900
- 13000:13800
- 14600:15100
- 16000:16400
Between this numbers, i have to found the minimum of it.
Any suggestions??
Thanks, Miha

Best Answer

Sources/Clock returns the current model simulation time.
You can use this block to get simulation time, and by comparing the simulation time with required time values, you can read the numbers in specific periods.