Effect of using simout block on simulation speed?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Ryan G
el 27 de Ag. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!