Simulink real time logging buffer problems

6 Ansichten (letzte 30 Tage)
Jesper Liniger
Jesper Liniger am 24 Mai 2017
Beantwortet: Sebastian K am 26 Mai 2017
Hi,
I am using Simulink Real Time for doing a rather lengthy test where I want to log several GBs of data before loading it from target to host.
I found the signal logging data buffer size in doubles and tried to increase it to a value that concurs with 5 GB. The target has 8 GB of RAM available. Whenever I try to build and deploy the model on the target I get a fault saying that the model memory exceeds available memory (I will post the exact error when I get back to work). It seems I can select a maximum of around 450 MB before I get into this problem.
The target is booted from a usb disk with the RAM option set to 8 GB. I also tried auto, but with no improvement.
Has anyone had this problem? or am I missing something?
Best Regards, Jesper

Antworten (1)

Sebastian K
Sebastian K am 26 Mai 2017
Hi Jesper,
Your application sounds like a perfect example where someone would use a Real-Time File Scope, unless I am misunderstanding your requirements or objectives.
This block will let you store data up to 4 GB on the target computer. Please refer to our documentation for some examples on how to use this block.
Cheers,
Sebastian

Community Treasure Hunt

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

Start Hunting!

Translated by