- If you want to run it faster, you can parallelize the simulations with the Parallel Computing Toolbox and a parfor-loop. Each instance of the simulation will run on a separate processor thread. This will give you significant speed increases.
- If data management is the issue, you may want to use the Simulink Test Toolbox to manage the parameter sweep, but I am not really sure you will benefit a lot from this since you have set up a way to run the simulations already.
What is the fastest way to run same simulink model multiple times ?
33 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
If I have a large dataset say 6000 rows of data that I need to evaluate simulink model at each point
Currently I use for loop and use simout for each time to update simulink with each new value for my parameters.
I think there is more elegent approaches to do this task.
My simulink model uses components from Powerelctronics library. I assign each parameter with symbolic value that gets updated from Matlab workspace. This works fine with 6000 rows of data despite some affordable time. But more than that needs more elegent approaches.
Any suggestions will be appreciated.
0 Commenti
Risposta accettata
Jonas
il 15 Lug 2019
Modificato: Jonas
il 15 Lug 2019
What is exactly the issue you are having with this approach? The speed, or the way you save and load data?
I would in fact perform a parameter sweep on Simulink simulations in a very similar way as you are doing right now.
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Naming Conventions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!