Saving enumerated data types with Rapid Simulation Target
2 views (last 30 days)
Show older comments
Hi there, im having a problem with a rapid simulation target build im running. Basically, i have a bunch of enumerated data as bus signals that i need to save from a simulink model executable (either to workspace or to file), the problem is:
1. I am saving hundreds of signal, and when using a to-file block and saving as timeseries, the data is saved in their original structure and data-types, however while the simulation itself takes only a second, the save process is extremely slow and the files are incredibly big (700MB-1GB) .mat files.
2. If i seperate the signals with bus selectors and individual signals using to workspace blocks or root outport blocks, the save process is very fast and the output .mat files small, however, the problem is i have enumerated signals which refuse to save, giving a warning that .mat file logging is not supported for the data-types im using.
Ideally, i would like to know if there is any way to save to file in a fast way using RSim executables, or if this is simply a limitation of RSim when saving many signals contained in buses as timeseries.
0 Comments
Answers (0)
See Also
Categories
Find more on Multicore Processor Targets 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!