Execution time variations in simulating same model repeatedely
Afficher commentaires plus anciens
When I simulate a model over and over again, why do I get different execution time. For example, in the following code I am grabbing the simulation time and for my model I see a wide variation of simulation executed time [ varies from 0.70 to 1.01 min]. I am trying to understand where the randomness / variations is coming from?
for i = 1:100
ts = tic;
sim(mymodel)
tf = toc(ts);
end
Réponses (0)
Catégories
En savoir plus sur Simscape dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!