Effect of using simout block on simulation speed?
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Ryan G
on 27 Aug 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.
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!