Effect of using simout block on simulation speed?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, I am using simout block in my simulink model to collect the data associated with some Signals. I can do this either by using separate simout for each signal, or by using simout block alongwith a BusCreator block where I will use Buscreator to collect data from all the signals and then simout block to collect data from BusCreator.
For me things are easier if I use different simout block from different signal. I want to know whether using too many simout blocks when one simout blocks alongwith a bus creator can be used, affects the simulation speed?
Thanks for the help............
0 Commenti
Risposta accettata
Ryan G
il 27 Ago 2012
I wouldn't expect to much difference in simulation speed from to_workspace blocks. However, if you end up having hundreds then it may possibly slow it down. I think the more notable limitation you may see is in memory as each stored data will suck up RAM. This should not change if you use a bus or individual blocks.
You may notice a change in initialization time as well since the to_workspace blocks will have to create a new variable for each block.
The answer ultimately depends on number of signals being logged.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!