Solution for the multiple repetition of Simulink simulation

3 visualizaciones (últimos 30 días)
Lazar Dulovic
Lazar Dulovic el 17 de Ag. de 2022
Respondida: Paul el 17 de Ag. de 2022
Dear All,
I have a simulation realised in Simulink. I would like to create some kind of loop in which the simulation should be repeated several times automatically with changed input parameters and output results for each time.
To simplify: I would like to increment input parameter for each time, which is in the simulation mask and to save results of simulation for each repetition. I have a few initialization(InitFcn) and stop functions(StopFcn) defined in Model properties (callbacks) which are crucial for start of simulation and calculation of simulation results.
Therefore, can be achieved to automatize the whole process?
Thankful in advance.

Respuestas (1)

Paul
Paul el 17 de Ag. de 2022
Check out Simulation in the doc. The links from that page should provide lots of relevant information.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by