필터 지우기
필터 지우기

Saving enumerated data types with Rapid Simulation Target

조회 수: 2 (최근 30일)
payam
payam 2015년 12월 14일
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개)

카테고리

Help CenterFile Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by