I want to examine uncertainty of rainfall duration with the monte carlo method. So I should link SWMM with MATLAB program and run the program many times (here 1000 times). In each iteration I should change the duration of rainfall and so the temporal pattern of rainfall will be changed. Now I want to know is it possible that I change rainfall timeseries for a gage in each iteration?
At this stage I have prepared a code that generate different types of rainfall timeseries. How can I introduce these timeseries to the program that is linked with MATLAB in each iteration?