Faster way to run simulink simulation repeatedly for a large number of time

조회 수: 2 (최근 30일)
Bilguun
Bilguun 2014년 6월 28일
답변: Kaustubha Govind 2014년 7월 2일
I want to run a simulation which includes SimEvent blocks (thus only Normal option is available for sim run) for a large number of times, like at least 1000. When I use sim it compiles every time which makes the whole simulation process slow, even though the actual running time is short. I wonder if there is any other solution for running the simulation repeatedly in a faster way. I disabled Rebuild option from Configuration Parameter and it does make it faster but still takes ages to run for around 100 times.
Is there any way to initialize simulation and run it again without stopping it? like clear up every entities and other variables in the system.. Not sure if it even possible to disable compiling the model
Thank you!

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 7월 2일
I think you will find the SimState save/restore feature useful.

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by