In order to do a Monte Carlo simulation, I want to run a simulink model (containing a random generator) N-times and store the output of each run. After N runs, I want to take the RMS value of these runs and plot this result. I think I have to use a 'for' loop, but i'm not sure what the rest of the matlab code has to look like?
MATLAB: Run a Simulink model N-times and store the output of each run
monte-carlo simulationsimulink
Related Question
- How to collect the results from a simulation for the model when I use the SIM command to run the model in Simulink 7.7 (R2011a)
- How to compose a function n-times and want value for a particular value of n
- Simulation time
- How do you obtain the values for each of n-times simulation of a nested while loop
- Automatically save output variable of multiple-run simulation with different names
- How to sum up a matrix n-times
Best Answer